[jboss-user] [jBPM] - jBPM 5.2 : NullpointerException Issue in loading knowledgeAgent.applyChangeSet(ResourceFactory.newUrlResource(url));

uvijayreddy657 do-not-reply at jboss.com
Mon Dec 19 06:26:59 EST 2011


uvijayreddy657 [http://community.jboss.org/people/uvijayreddy657] created the discussion

"jBPM 5.2 : NullpointerException Issue in loading knowledgeAgent.applyChangeSet(ResourceFactory.newUrlResource(url));"

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

--------------------------------------------------------------
Getting NullpointerException issue in JBPM 5.2 when loading kbase using KnowledgeAgent. But same is working with JBPM 5.1 without any issue.
 
url= http://localhost:8080/ (http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/SDS/LATEST/ChangeSet.xml)drools-guvnor/org.drools.guvnor.Guvnor/package/SDS/LATEST/ChangeSet.xml   (http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/SDS/LATEST/ChangeSet.xml)
knowledgeAgent .applyChangeSet(ResourceFactory.+newUrlResource+(url));  



The following exception I am getting with JBPM 5.2 jars. But the same is working with jBPM 5.1 jars.






*Stacktrace:*

**
**
**
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.incrementalBuildResources(KnowledgeAgentImpl.java:933)
 at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:659)
 at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:190)
 at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:169)
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20111219/710f92a9/attachment.html 


More information about the jboss-user mailing list