Problem Note 62815: The error "Session context has been destroyed" occurs during execution of a campaign from the SAS® Marketing Automation Launcher
When you use SAS Marketing Automation Launcher to execute campaigns, the campaign occasionally fails. The failure occurs when an internal platform timeout is reached, which causes the session to close ahead of time. When this problem occurs, the following error is displayed in the SASCustIntelCore log:
2018-08-15 07:47:05,281 ERROR [CIAsyncExec-390] [9d212228a62e1f0c:-ead0e3e:1653c62be5e:70e1] [sasdemo] om.sas.ci.services.common.ServiceContext - Session context has been destroyed.
java.lang.IllegalStateException: Session context has been destroyed.
at com.sas.services.session.SessionContext.getAttribute(SessionContext.java:668)
at com.sas.ci.services.common.ServiceContext.getAttribute(ServiceContext.java:181)
at com.sas.ci.services.common.session.SessionCache.getSessionDao(SessionCache.java: 154)
at com.sas.ci.services.common.session.SessionCache.get(SessionCache.java:111)
at com.sas.ci.services.common.bctx.BcUtil.getSessionBcUid(BcUtil.java:127)
at com.sas.analytics.crm.persistencemanagers.MAPersistenceManager.getBCDataRepository(MAPersistenceManager.java:1184)
at com.sas.analytics.crm.persistencemanagers.FlowPersistenceManager.getRepository(FlowPersistenceManager.java:56)
at com.sas.analytics.crm.persistencemanagers.MAPersistenceManager.getMIFromGUID(MAPersistenceManager.java:1151)
at com.sas.analytics.crm.persistencemanagers.MAPersistenceManager.isObjectOutForUpdate(MAPersistenceManager.java:864)
at com.sas.analytics.crm.flow.CIFlow.validateCampaignOrDiagramNotInUse(CIFlow.java:1059)
at com.sas.analytics.crm.cm.Campaign.doSaveCampaign(Campaign.java:2851)
at com.sas.analytics.crm.cm.Campaign.saveCampaign(Campaign.java:1826)
at com.sas.analytics.crm.cm.Campaign.saveCampaign(Campaign.java:1797)
at com.sas.analytics.crm.cm.Campaign.saveCampaign(Campaign.java:1777)
at com.sas.analytics.crm.flow.MAFlow.saveCampaign(MAFlow.java:3173)
at com.sas.analytics.crm.flow.MAFlow.executeTerminalNodeList(MAFlow.java:3748)
at com.sas.analytics.crm.flow.MAFlow.flowExecuteCampaign(MAFlow.java:3892)
at com.sas.analytics.crm.cm.Campaign.executeCampaign(Campaign.java:3568)
at com.sas.analytics.crm.cm.Campaign.executeCampaign(Campaign.java:3523)
at com.sas.analytics.crm.flow.ForkCampCommExecution.run(ForkCampCommExecution.java:105)
at com.sas.analytics.crm.security.SecurityExecutorServiceImpl$WrappedRunnable.run(SecurityExecutorServiceImpl.java:78)
at com.sas.analytics.crm.task.ejb.ClearedThreadLocalRunnable.run(ClearedThreadLocalRunnable.java:17)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:745)
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Marketing Automation | Microsoft® Windows® for x64 | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled AIX | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
64-bit Enabled Solaris | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
HP-UX IPF | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
Linux for x64 | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
Solaris for x64 | 6.5 | 6.6 | 9.4 TS1M3 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-12-05 10:13:02 |
Date Created: | 2018-08-23 11:39:01 |