java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION!

Pentaho BI Platform Tracking | Jens Bleuel | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Schedule a simple transformation (generate rows step / dummy) as admin (having all privileges): nothing happens. Tested with Run now as well as scheduled at a specific time (the scheduler lists the schedule, but monitoring the DI-Server does not show the transformation after it gets triggered). Possible related error messages in pentahodataintegrationserver-stdout.xxx.log (looks similar to BISERVER-11157 & ESR-3601): 15:31:01,658 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "org.pentaho.platform.plugin.kettle.PdiAction" failed to run as a quartz job java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION! at org.pentaho.platform.engine.core.system.StandaloneSession.getAttribute(StandaloneSession.java:75) at org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getCurrentTenant(JcrTenantUtils.java:152) at org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getTenant(JcrTenantUtils.java:125) at org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:134) at org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:113) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:113) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:123) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:111) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:320) at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:132) at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:112) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:166) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:156) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction

    Pentaho BI Platform Tracking | 3 years ago | Jens Bleuel
    java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION!
  2. 0

    Schedule a simple transformation (generate rows step / dummy) as admin (having all privileges): nothing happens. Tested with Run now as well as scheduled at a specific time (the scheduler lists the schedule, but monitoring the DI-Server does not show the transformation after it gets triggered). Possible related error messages in pentahodataintegrationserver-stdout.xxx.log (looks similar to BISERVER-11157 & ESR-3601): 15:31:01,658 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "org.pentaho.platform.plugin.kettle.PdiAction" failed to run as a quartz job java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION! at org.pentaho.platform.engine.core.system.StandaloneSession.getAttribute(StandaloneSession.java:75) at org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getCurrentTenant(JcrTenantUtils.java:152) at org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getTenant(JcrTenantUtils.java:125) at org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:134) at org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:113) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:113) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:123) at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:111) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:320) at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:132) at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:112) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:166) at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:156) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction

    Pentaho BI Platform Tracking | 3 years ago | Jens Bleuel
    java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION!

    Root Cause Analysis

    1. java.lang.IllegalStateException

      StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION!

      at org.pentaho.platform.engine.core.system.StandaloneSession.getAttribute()
    2. org.pentaho.platform
      SecurityHelper.runAsUser
      1. org.pentaho.platform.engine.core.system.StandaloneSession.getAttribute(StandaloneSession.java:75)
      2. org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getCurrentTenant(JcrTenantUtils.java:152)
      3. org.pentaho.platform.repository2.unified.jcr.JcrTenantUtils.getTenant(JcrTenantUtils.java:125)
      4. org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:134)
      5. org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:113)
      6. org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:113)
      7. org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:123)
      8. org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:111)
      9. org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:320)
      10. org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:132)
      11. org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:112)
      12. org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:166)
      13. org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:156)
      13 frames