Uploaded image for project: 'RTGov (Run Time Governance)'
  1. RTGov (Run Time Governance)
  2. RTGOV-524

Drools processor : Steam mode does not handle results of async rule activation

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • 2.0.0.Final
    • 2.0.0.Final
    • Event Processor
    • None
    • Hide

      Deploy the attached quick start under rtgov/samples/ folder

      cd into ordermgt-demo, run "mvn clean install jboss-as:deploy"
      cd into rtgov/samples/app and run "mvn exec:java -Dreq=order2 -Dcount=20"

      in the console of jbossas you should see

      �[0m�[0m11:00:52,158 INFO [stdout] (Thread-168) Rule activated.....
      �[0m�[0m11:00:52,158 INFO [stdout] (Thread-168) event size 19
      �[0m�[31m11:00:52,159 SEVERE [org.overlord.rtgov.epn.Node] (Thread-168) Node 'LoadIncrease' failed to forward asynchronous result: java.lang.NullPointerException
      �[0m�[0m11:00:52,249 INFO [stdout] (Thread-168) Rule activated.....
      �[0m�[0m11:00:52,249 INFO [stdout] (Thread-168) event size 18
      �[0m�[31m11:00:52,250 SEVERE [org.overlord.rtgov.epn.Node] (Thread-168) Node 'LoadIncrease' failed to forward asynchronous result: java.lang.NullPointerException
      �[0m�[0m11:00:52,269 INFO [stdout] (Thread-168) Rule activated.....

      Show
      Deploy the attached quick start under rtgov/samples/ folder cd into ordermgt-demo, run "mvn clean install jboss-as:deploy" cd into rtgov/samples/app and run "mvn exec:java -Dreq=order2 -Dcount=20" in the console of jbossas you should see �[0m�[0m11:00:52,158 INFO [stdout] (Thread-168) Rule activated..... �[0m�[0m11:00:52,158 INFO [stdout] (Thread-168) event size 19 �[0m�[31m11:00:52,159 SEVERE [org.overlord.rtgov.epn.Node] (Thread-168) Node 'LoadIncrease' failed to forward asynchronous result: java.lang.NullPointerException �[0m�[0m11:00:52,249 INFO [stdout] (Thread-168) Rule activated..... �[0m�[0m11:00:52,249 INFO [stdout] (Thread-168) event size 18 �[0m�[31m11:00:52,250 SEVERE [org.overlord.rtgov.epn.Node] (Thread-168) Node 'LoadIncrease' failed to forward asynchronous result: java.lang.NullPointerException �[0m�[0m11:00:52,269 INFO [stdout] (Thread-168) Rule activated.....

    Description

      When a sliding rule is defined of Steam mode and Async Mode of the droolsEventprocessor. Rule is activated but the handling of the results fails with a NPE.
      NPE traced back to the Node object responsible for handling the forward of the serialized object as the passed in _container object is null;

      See,
      https://issues.jboss.org/browse/RTGOV-393

      Attachments

        Issue Links

          Activity

            People

              gary@brownuk.com Gary Brown
              imckinle_jira ivan mckinley (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Resolved:
                Archived: