[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBRULES-2729) NullPointerException from CompositeMaxDurationTimer.createTrigger

Jacek Rosik (JIRA) jira-events at lists.jboss.org
Mon Dec 20 06:32:18 EST 2010


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

Jacek Rosik edited comment on JBRULES-2729 at 12/20/10 6:31 AM:
----------------------------------------------------------------

I'm experiencing the same problem. Any progress on it?

Adding 'duration' rule attribute resolves the problem with the NPE, but, the rule is fired twice now. Once immediately after conditions are satisfied, and then again after the specified time.

      was (Author: jrosik):
    I'm experiencing the same problem. Any progress on it?

Adding 'duration' rule attribute resolves the problem with the NPE, but, the rule is fired twice now. Once immediately and the after the specified time.
  
> NullPointerException from CompositeMaxDurationTimer.createTrigger
> -----------------------------------------------------------------
>
>                 Key: JBRULES-2729
>                 URL: https://issues.jboss.org/browse/JBRULES-2729
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions: 5.1.1.FINAL
>         Environment: Windows XP SP3, Java 1.6.0_21, Drools Fusion 5.1.1
>            Reporter: Will Lauer
>            Assignee: Mark Proctor
>
> The timer field of CompositeMaxDurationTimer appears to be not getting populated correctly when certain types of rules are created in Drools Fusion. This results in subsequent calls to CompositeMaxDurationTimer.createTimer to reference a null pointer during execution. While the error triggers during fact insertion in Drools Fusion, it appears to be due to an incomplete timer definition during rules compilation.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list