JBoss Community

Re: NullPointerException when loading the ksession (Unable to load session snapshot)

created by Miloud Haimoune in jBPM - View the full discussion

Hi all,

 

I found a way to solve my issue and load the jbpm session correctly, but I'm still looking for a better solution.

 

the workaround :  creating a new ksession , KnowledgeBaseFactory.newKnowledgeSessionConfiguration(sessionconfigproperties)

 

By copping the content of rulesbytearray (sessionInfo table)  of the new created session in the rulesbytearray of old ksession instance that can not be load and  restarting the application, every thing work just fine.

 

Please if any one think that this can cause an issue or have any other solution, please let me know.

 

 

Many thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community