org.springframework.transaction.CannotCreateTransactionException

Could not open JCR session for transaction; nested exception is java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by Tatsiana Kasiankova,
  • via Unknown by Tatsiana Kasiankova,
  • via Unknown by Michael D'Amour,
  • Stack trace

    • org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is java.lang.IllegalStateException: StandaloneSession.ERROR_0001 - !StandaloneSession.ERROR_0001_ACCESSING_DESTROYED_SESSION! at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:160) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy28.getTree(Unknown Source) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$41.call(ExceptionLoggingDecorator.java:445) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$41.call(ExceptionLoggingDecorator.java:443) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:489) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getTree(ExceptionLoggingDecorator.java:443) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getTree(ExceptionLoggingDecorator.java:454) at org.pentaho.di.repository.pur.PurRepository.loadRepositoryFileTree(PurRepository.java:520) at org.pentaho.di.repository.pur.PurRepository.loadRepositoryDirectoryTree(PurRepository.java:528) at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow(AutoDoc.java:163) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) at java.lang.Thread.run(Thread.java:744) Caused by: 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.getTenantedUser(JcrTenantUtils.java:96) at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoSessionCredentialsStrategy.getUserId(PentahoSessionCredentialsStrategy.java:74) at org.pentaho.platform.repository2.unified.jcr.sejcr.PentahoSessionCredentialsStrategy.getCredentials(PentahoSessionCredentialsStrategy.java:65) at org.pentaho.platform.repository2.unified.jcr.sejcr.CredentialsStrategySessionFactory.getSession(CredentialsStrategySessionFactory.java:337) at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:120) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.