Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.3.0.Beta1
    • Fix Version/s: 5.3.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      Take the example project from JBRULES-2887 and run it. You'll get this exception:

      Exceuting
      ruleorg.drools.runtime.rule.ConsequenceException: rule: MESSAGE_HELLO
      at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
      at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1093)
      at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1022)
      at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1243)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:733)
      at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:699)
      at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:218)
      at com.sample.DroolsTest.main(DroolsTest.java:41)
      Caused by: java.lang.NullPointerException
      at org.drools.reteoo.ReteooWorkingMemory$EvaluateResultConstraints.execute(ReteooWorkingMemory.java:576)
      at org.drools.common.PropagationContextImpl.evaluateActionQueue(PropagationContextImpl.java:265)
      at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:465)
      at org.drools.common.NamedEntryPoint.update(NamedEntryPoint.java:365)
      at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:294)
      at com.sample.Rule_MESSAGE_HELLO_0.defaultConsequence(Rule_MESSAGE_HELLO_0.java:8)
      at com.sample.Rule_MESSAGE_HELLO_0DefaultConsequenceInvoker.evaluate(Rule_MESSAGE_HELLO_0DefaultConsequenceInvoker.java:27)
      at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1083)
      ... 6 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mark.proctor Mark Proctor
                Reporter:
                tschloss Tomas Schlosser
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: