[jboss-user] [jBPM] - Re: NullPointerException when loading the ksession (Unable to load session snapshot)

Miloud Haimoune do-not-reply at jboss.com
Thu May 10 10:49:08 EDT 2012


Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/734801#734801

--------------------------------------------------------------
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
[https://community.jboss.org/message/734801#734801]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120510/624878ba/attachment.html 


More information about the jboss-user mailing list