[jboss-jira] [JBoss JIRA] (DROOLS-196) NPE when used Timers with temporal operators in the LHS pattern

Alessandro Lazarotti (JIRA) jira-events at lists.jboss.org
Fri Jul 19 18:14:26 EDT 2013


Alessandro Lazarotti created DROOLS-196:
-------------------------------------------

             Summary: NPE when used Timers with temporal operators in the LHS pattern
                 Key: DROOLS-196
                 URL: https://issues.jboss.org/browse/DROOLS-196
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Drools 5.3.0
            Reporter: Alessandro Lazarotti
            Assignee: Mark Proctor


NPE when used Timers with temporal operators. When the rule is invalidated by the clock we see:

{quote}
Unable to execute timer job!
java.lang.NullPointerException
     at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1236)
     at org.drools.common.Scheduler$ActivationTimerJob.execute(Scheduler.java:91)
     at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
     at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
     at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
{quote}

Unit test attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list