[jboss-user] [jBPM] - Re: Instantiating the KnowledgeBase

Piotr Tempes do-not-reply at jboss.com
Mon Apr 11 14:58:03 EDT 2011

Piotr Tempes [http://community.jboss.org/people/carek] created the discussion

"Re: Instantiating the KnowledgeBase"

To view the discussion, visit: http://community.jboss.org/message/599336#599336

I found the problem. I tried to debug the code to see what's going on and well there's a line of code which doesn't pass:

PackageRegistry pkgRegistry = this.packageBuilder.getPackageRegistry(process.getPackageName());

and if pkgRegistry is null it throws this exception... In my case it is null because in packageRegistry there's only defaultPackage package and process.getPackageName() returns org.drools.bpmn2 and I don;t know why it's filled with this name... Any assumptions?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110411/829b3975/attachment.html 

More information about the jboss-user mailing list