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

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Sep 11 05:09:03 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803406#comment-12803406 ] 

RH Bugzilla Integration commented on DROOLS-196:
------------------------------------------------

Tomas Schlosser <tschloss at redhat.com> made a comment on [bug 986479|https://bugzilla.redhat.com/show_bug.cgi?id=986479]

I am able to reproduce the issue with 5.3.1.BRMS-P04.

It is possible this is fixed in 5.3 branch of project, but it did not make its way to the product.

I have not yet found a way to make this a valid test since the mentioned exceptions are shown in System.err only (could not catch them other way). Please make sure (when running the reproducer) to check your error output for reported exception.
                
> 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


More information about the jboss-jira mailing list