[jboss-user] [jBPM] - Re: JPAWorkingMemoryDbLogger NullPointerException

Maciej Swiderski do-not-reply at jboss.com
Fri Mar 1 08:20:51 EST 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: JPAWorkingMemoryDbLogger NullPointerException"

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

--------------------------------------------------------------
you need to create persistence session via JPAKnowledgeSession class instead of getting one directly from kbase. That is probably the case as there is no environment with entity manager factory in it. Environment is taken from ksession inside JPAWorkingMemoryDBLogger. Take a look at documentation for details hot to crate persistent session.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800286#800286]

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/20130301/7e80355c/attachment.html 


More information about the jboss-user mailing list