Description of problem: The following code fails with 'No strategy of type org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy available.' KieSession ksession = restoreKnowledgeSession(sinfo.getSessionId(), "BPMN2-RepeatingTimer.bpmn2"); ProcessInstance pi = ksession.getProcessInstance(sinfo.getProcessInstanceIds().get(0)); Assert.assertNotNull(pi); Assert.assertTrue(pi.getState() == ProcessInstance.STATE_ACTIVE); The change to org.drools.core.marshalling.impl.SerializablePlaceholderResolverStrategy might be required on more places. See attached log.
Created attachment 800427 [details] process definition
Marek, could you please attach the log that you mentioned in the description? I can only see the process definition. Would be nice to see the actual code you use for that. Is there any repo where I can take a look at how you test the migration between 5 and 6?
Hi Maciej, argh I forgot to attach the log :(. Will correct that ASAP. In mean time here's the repo: http://git.app.eng.bos.redhat.com/?p=jbossqe/brms.git;a=tree;f=test-jbpm-session-migration;h=c135fc10bce3a6bc7e08b00538407da39f7debcc;hb=refs/heads/master Store part is made in from_5.3.x/.../StoreSessionTest.timerTest() and the load part is made in to_6.x/.../LoadSessionTest.timerTest()
Created attachment 802373 [details] log
ensured backward compatibility for strategies master https://github.com/droolsjbpm/drools/commit/8e70c9776caec914df94ba3989c4802bbc665c56 https://github.com/droolsjbpm/drools/commit/72c5a8b12f39a7776c0593500f8da7066cee2906 6.0.x https://github.com/droolsjbpm/drools/commit/b283d728afb51f6b3abdd8cc7c34fd5db01c282d https://github.com/droolsjbpm/drools/commit/b584b63db13657aaebe447db08f8779629ec965b
Verified on ER4.