Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9186

Drools examples fails to load with exception

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Meridian-2016.1.4, 19.0.1
    • Fix Version/s: 19.1.0, Meridian-2016.1.5
    • Component/s: Correlator
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - March 1st

      Description

      The Drools rules that we ship in etc/examples fail to load with the following exception:

      Caused by: java.lang.RuntimeException: Unexpected global [LOG]
              at org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:1162) ~[drools-core-6.4.0.Final.jar:6.4.0.Final]
              at org.opennms.netmgt.correlation.drools.DroolsCorrelationEngine.initialize(DroolsCorrelationEngine.java:174) ~[drools-correlation-engine-19.0.0-SNAPSHOT.jar:?]
      

      We should fix the rules, and add a test case to ensure that the examples we ship will work.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: