Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6961

NullPointerException in LambdaConsequence with global in executable-model

    XMLWordPrintable

Details

    • 2022 Week 20-22 (from May 16)
    • 2
    • NEW
    • NEW
    • ---
    • ---

    Description

      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
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: