Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-425

NPE is thrown when event with a timestamp set in the past is modified

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.2
    • 6.0.0
    • BRE
    • None
    • ER1
    • Hide
      An attempt to modify an event/model in the 'THEN' condition of a rule when that event had a timestamp set in the past (before pesudoclock) with an 'after' operator, resulted in a NullPointerException being thrown.
      This has now been fixed with the addition of check before executing a job to check whether the job still exists in case the timer for that job has already been fired and no scheduling of a job was done.
      Show
      An attempt to modify an event/model in the 'THEN' condition of a rule when that event had a timestamp set in the past (before pesudoclock) with an 'after' operator, resulted in a NullPointerException being thrown. This has now been fixed with the addition of check before executing a job to check whether the job still exists in case the timer for that job has already been fired and no scheduling of a job was done.

      +++ This bug was initially created as a clone of Bug #1082988 +++

      Description of problem:

      As described by customer :

      "A NPE is thrown when an event with a timestamp set in the past (before pseudoclock) is modified in RHS, and the LHS of the rule reason over event with an 'after' operator'."

      Version-Release number of selected component (if applicable):
      6.0.0 GA

      How reproducible:

      always

      Steps to Reproduce:
      1. Run the attachment
      2. Launch the test
      3. Observe the exception

      Actual results:

      NPE is thrown

      Expected results:

      NPE is not thrown

      Additional info:

      — Additional comment from Anton Giertli on 2014-04-01 05:15:18 EDT —

      — Additional comment from Anton Giertli on 2014-04-01 05:15:49 EDT —

      — Additional comment from Anton Giertli on 2014-04-01 05:17:17 EDT —

      reproducible also with 6.0.1 CR2

              mfusco@redhat.com Mario Fusco
              rhn-support-agiertli Anton Giertli
              Archiver:
              rhn-support-ceverson Clark Everson
              Tomas Schlosser Tomas Schlosser
              Tomas Schlosser Tomas Schlosser
              Kris Verlaenen, Vikram Goyal (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: