Created attachment 838410 [details] reproducer +++ This bug was initially created as a clone of Bug #1044577 +++ Description of problem: A customer is running CEP with a JPA persisted ksession (created by JPAKnowledgeService.newStatefulKnowledgeSession()) on SOA-P. They are seeing the Exception below intermittently under high-load. Version-Release number of selected component (if applicable): How reproducible: See the attachment Steps to Reproduce: - Create one ksession by JPAKnowledgeService.newStatefulKnowledgeSession() - Insert events to a shared EntryPoint from multiple threads Run CEPTest Actual results: Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 at org.drools.marshalling.impl.ProtobufOutputMarshaller.orderFacts(ProtobufOutputMarshaller.java:592) at org.drools.marshalling.impl.ProtobufOutputMarshaller.writeFactHandles(ProtobufOutputMarshaller.java:533) at org.drools.marshalling.impl.ProtobufOutputMarshaller.serializeSession(ProtobufOutputMarshaller.java:139) at org.drools.marshalling.impl.ProtobufOutputMarshaller.writeSession(ProtobufOutputMarshaller.java:100) ... Expected results: Additional info:
This BZ has been added to the inclusion list for the next SOA-P 5.3.1 Roll up, tracked at [1]. If the underlying BRMS issue is still open at the time the Roll up is productised, we will move it to the next. Rick [1] https://mojo.redhat.com/docs/DOC-87990