-
Bug
-
Resolution: Done
-
Minor
-
7.44.0.Final
-
None
-
False
-
False
-
NEW
-
NEW
-
Undefined
-
---
-
---
-
The NPE is hiding underlying exception causing the issue.
NPE happened in case of using one TM for several Kie sessions. I know, that it's wrong using, but skipped exception was ConcurrentModificationException, that more useful for understanding.
Stacktrace:
(serverId=92) 2020-10-06 14:28:34.588 WARN Camel (camel-1) thread #28 - Multicast KieSpringTransactionManager:begin:59 - Unable to begin transaction java.lang.NullPointerException: null at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:703) at org.kie.spring.persistence.KieSpringTransactionManager.getStatus(KieSpringTransactionManager.java:142) at org.kie.spring.persistence.KieSpringTransactionManager.begin(KieSpringTransactionManager.java:50) at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:589) at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:565) at org.drools.persistence.PersistableRunner.execute(PersistableRunner.java:400) at org.drools.persistence.PersistableRunner.execute(PersistableRunner.java:68) at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:37) at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:41) at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.getIdentifier(CommandBasedStatefulKnowledgeSession.java:134)