RH PAM: Could not commit session: java.lang.RuntimeException: Unable to load session snapshot

Solution In Progress - Updated -

Issue

  • During the execution of a Business Process, the following error log is reported:
08:02:15,826 WARN  [org.drools.persistence.PersistableRunner] (default task-1656) Could not commit session: java.lang.RuntimeException: Unable to load session snapshot
    at deployment.ROOT.war//org.drools.persistence.api.SessionMarshallingHelper.loadSnapshot(SessionMarshallingHelper.java:104)
    at deployment.ROOT.war//org.drools.persistence.PersistableRunner.initExistingKnowledgeSession(PersistableRunner.java:252)
    at deployment.ROOT.war//org.drools.persistence.PersistableRunner.<init>(PersistableRunner.java:190)
    at jdk.internal.reflect.GeneratedConstructorAccessor262.newInstance(Unknown Source)
    . . .
Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NullPointerException
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.tx.BMTInterceptor.handleException(BMTInterceptor.java:83)
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.tx.EjbBMTInterceptor.checkStatelessDone(EjbBMTInterceptor.java:91)
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:106)
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:57)
        . . . .
    ... 143 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.persistTimer(TimerServiceImpl.java:632)
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.createTimer(TimerServiceImpl.java:480)
    at org.jboss.as.ejb3@7.2.9.GA-redhat-00003//org.jboss.as.ejb3.timerservice.TimerServiceImpl.createSingleActionTimer(TimerServiceImpl.java:305)
    . . ..
    ... 201 more
Caused by: java.lang.NullPointerException
    at deployment.ROOT.war//org.drools.core.marshalling.impl.ProtobufMarshaller.marshall(ProtobufMarshaller.java:104)
    at deployment.ROOT.war//org.drools.core.impl.StatefulKnowledgeSessionImpl.writeExternal(StatefulKnowledgeSessionImpl.java:1002)
    at org.jboss.marshalling.river@2.0.9.Final-redhat-00001//org.jboss.marshalling.river.R

Environment

  • Red Hat PAM 7.7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content