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

Drools examples fails to load with exception

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • Meridian-2016.1.4, 19.0.1
    • 19.1.0, Meridian-2016.1.5
    • Correlator
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.