NPE while executing rules through kie-server which contains global objects in rule

Solution Unverified - Updated -

Issue

I have a kjar depoyed under "Rule Deployments" in business-central. I then send a command to trigger my rule. I want my rule to fire a method on a global object in the RHS, but I get the following error:

ERROR [org.kie.server.services.rest.KieServerRestImpl] (http-localhost.localdomain/127.0.0.1:8080-6) Error calling container 'project1': Exception executing consequence for rule "TestRule" in defaultpkg: java.lang.NullPointerException
        at org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)

Environment

  • Red Hat JBoss BPM Suite
    • 6.1.x

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