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/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.
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)