Community

Process Variables made by Java cannot be deserialized

reply from Maciej Swiderski in jBPM - View the full discussion

Hi,

 

Huisheng is right, current patch does not solve the issue completely. Thanks to his test case I was able to reproduce it. Somehow context class loader is not enough.

I tried to reuse DeploymentClassLoader capabilities to solve the issue and it seems to work fine. In fact that was my first way of fixing it but I changed it to using only context class loader according to jira issue comments.

 

So I have a nice patch to upload but I have issues regarding source code structure:

- test case with process definition is placed in jbpm-test-db module

- since test case must deploy process definition with a class that is not available on class path it needs to be somewhere else as compiled resource I have put it at the moment into new folder (ext-resources) inside module jbpm-test-db

 

Please let me know if that is the right way to do it.

 

Cheers,

Maciej

Reply to this message by going to Community

Start a new discussion in jBPM at Community