Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1920

NullPointerException in LambdaConsequence with global in executable-model

XMLWordPrintable

    • False
    • None
    • False
    • CR1
    • +
    • 2022 Week 20-22 (from May 16), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

      Exception executing consequence for rule "R1" in org.mypkg: java.lang.NullPointerException
      	at org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
      	at org.drools.core.common.DefaultAgenda.handleException(DefaultAgenda.java:1056)
      	at org.drools.core.phreak.RuleExecutor.innerFireActivation(RuleExecutor.java:462)
      	at org.drools.core.phreak.RuleExecutor.fireActivation(RuleExecutor.java:402)
      	at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:158)
      	at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:110)
      	at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:33)
      	at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
      	at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:869)
      	at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:816)
      	at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:808)
      	at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1333)
      	at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1324)
      	at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1308)
      	at org.drools.compiler.integrationtests.concurrency.GlobalConcurrencyTest$1.run(GlobalConcurrencyTest.java:109)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.lang.NullPointerException
      	at org.mypkg.P90.LambdaConsequence906E3497EC2BD332278466284CF5952F.execute(LambdaConsequence906E3497EC2BD332278466284CF5952F.java:22)
      	at org.mypkg.P90.LambdaConsequence906E3497EC2BD332278466284CF5952F.execute(LambdaConsequence906E3497EC2BD332278466284CF5952F.java:1)
      	at org.drools.model.functions.Block2$Impl.execute(Block2.java:40)
      	at org.drools.modelcompiler.consequence.LambdaConsequence.evaluate(LambdaConsequence.java:75)
      	at org.drools.core.phreak.RuleExecutor.innerFireActivation(RuleExecutor.java:455)
      	... 15 more
      

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-mputz Martin Weiler (Inactive)
              Paolo Bizzarri Paolo Bizzarri
              Paolo Bizzarri Paolo Bizzarri
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: