[
https://issues.jboss.org/browse/DROOLS-196?page=com.atlassian.jira.plugin...
]
Davide Sottara commented on DROOLS-196:
---------------------------------------
no exception with 5.6 either, after running the test for 50 cycles
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
Labels: brms-5.3
Attachments: LoopTestTimer.java
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