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/...
(
http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/SDS/...)
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&...]