java.lang.IllegalStateException: Illegal method call. This session was previously disposed.

jboss.org | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    jbpm 5.3 - kSession.dispose() - Error: Session ... | JBoss Developer

    jboss.org | 9 months ago
    java.lang.IllegalStateException: Illegal method call. This session was previously disposed.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Illegal method call. This session was previously disposed.

      at org.drools.reteoo.DisposedReteooWorkingMemory.getProcessRuntime()
    2. org.drools.reteoo
      DisposedReteooWorkingMemory.getProcessRuntime
      1. org.drools.reteoo.DisposedReteooWorkingMemory.getProcessRuntime(DisposedReteooWorkingMemory.java:270)
      1 frame
    3. org.drools.impl
      StatefulKnowledgeSessionImpl.getProcessRuntime
      1. org.drools.impl.StatefulKnowledgeSessionImpl.getProcessRuntime(StatefulKnowledgeSessionImpl.java:874)
      1 frame
    4. Drools :: Persistence :: JPA
      JtaTransactionSynchronizationAdapter.afterCompletion
      1. org.drools.persistence.SingleSessionCommandService$SynchronizationImpl.afterCompletion(SingleSessionCommandService.java:448)
      2. org.drools.persistence.jta.JtaTransactionSynchronizationAdapter.afterCompletion(JtaTransactionSynchronizationAdapter.java:25)
      2 frames
    5. Bitronix Transaction Manager :: Core
      BitronixTransactionManager.rollback
      1. bitronix.tm.BitronixTransaction.fireAfterCompletionEvent(BitronixTransaction.java:497)
      2. bitronix.tm.BitronixTransaction.rollback(BitronixTransaction.java:283)
      3. bitronix.tm.BitronixTransactionManager.rollback(BitronixTransactionManager.java:129)
      3 frames
    6. Spring Tx
      JtaTransactionManager.doRollback
      1. org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:1037)
      1 frame