Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.63.0.Final
-
None
-
2022 Week 11-13 (from Mar 14)
-
NEW
-
NEW
Description
If jbpm-flow is in a dependency (e.g. kie-spring can bring jbpm-flow), drools timer job is not persisted because TimerService.timerJobFactoryManager can be overwritten by ProcessMarshallerFactoryServiceImpl -> ProcessRuntimeImpl constructor during ProtobufMarshaller.marshall
ThreadSafeTrackableTimeJobFactoryManager(TrackableTimeJobFactoryManager).<init>(Map<Long,TimerJobInstance>) line: 42 ThreadSafeTrackableTimeJobFactoryManager.<init>() line: 26 ProcessRuntimeImpl.<init>(InternalWorkingMemory) line: 132 ProcessRuntimeFactoryServiceImpl.newProcessRuntime(InternalWorkingMemory) line: 26 ProcessRuntimeFactoryServiceImpl.newProcessRuntime(InternalWorkingMemory) line: 23 ProcessRuntimeFactory.newProcessRuntime(StatefulKnowledgeSessionImpl) line: 39 StatefulKnowledgeSessionImpl.createProcessRuntime() line: 458 StatefulKnowledgeSessionImpl.getProcessRuntime() line: 469 StatefulKnowledgeSessionImpl.getProcessInstances() line: 1846 ProtobufProcessMarshaller.writeProcessInstances(MarshallerWriteContext) line: 66 ProtobufOutputMarshaller.serializeSession(MarshallerWriteContext) line: 194 ProtobufOutputMarshaller.writeSession(ProtobufMarshallerWriteContext) line: 117 ProtobufMarshaller.marshall(OutputStream, KieSession, long) line: 123 ProtobufMarshaller.marshall(OutputStream, KieSession) line: 107 DroolsTest.serializeKieSession(KieBase, KieSession) line: 103 DroolsTest.given_deserializeSession_should_expire_AlarmIsOn() line: 53