How to avoid NullPointer exception while trying to retrieve package from Guvnor in BRMS 5.3.1?

Solution Verified - Updated -

Issue

  • We've uploaded a new set of XLS decision tables (with new template) to the Guvnor, built package and created snapshot. But, when we are trying to invoke the package it throws the following exception.
ERROR:
java.lang.NullPointerException
    at java.util.AbstractCollection.addAll(AbstractCollection.java:333)
    at org.drools.agent.impl.KnowledgeAgentImpl.addResourcesToKnowledgeBase(KnowledgeAgentImpl.java:1075)
    at org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:822)
    at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:671)
    at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:201)
    at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180)
    ...

Environment

  • JBoss Enterprise Business Rules Management System Platform (BRMS)
    • 5.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content