guvnor-examples shows use of a pkg file and change-set.

It might help.

On 1 February 2012 21:03, mpgong <michael.p.gong@lmco.com> wrote:
Hello,

I'm trying to load a pkg that is deployed to guvnor but i am getting a npe
(below).  The Package builds fine in guvnor so i don't think there is any
issues there.  Any idea what i might be doing wrong?  Are there example
quickstarts that i can run for Guvnor.

Thanks.

java.lang.NullPointerException
       at
org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:148)
       at
org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1016)
       at
org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:785)
       at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:657)
       at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:190)
       at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:169)

--
View this message in context: http://drools.46999.n3.nabble.com/Loading-A-PKG-from-Guvnor-using-Knowledge-Agent-tp3707923p3707923.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users