[jboss-jira] [JBoss JIRA] (DROOLS-93) Building rule file that contains event declaration with @duration ends with NPE

Petr Široký (JIRA) jira-events at lists.jboss.org
Tue Apr 2 10:31:42 EDT 2013


     [ https://issues.jboss.org/browse/DROOLS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petr Široký updated DROOLS-93:
------------------------------

    Attachment: drools93-reproducer.zip


Simple maven reproducer attached.
                
> Building rule file that contains event declaration with @duration ends with NPE
> -------------------------------------------------------------------------------
>
>                 Key: DROOLS-93
>                 URL: https://issues.jboss.org/browse/DROOLS-93
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.Alpha1
>            Reporter: Petr Široký
>            Assignee: Mark Proctor
>         Attachments: drools93-reproducer.zip
>
>
> Building kbase with simple rule file with event declaration that has a @duration attribute ends with NPE. When the @duration is removed, file is built correctly. See attached maven reproducer (just run mvn test).
> The rule file looks like this:
> {code}
> package org.jboss.drools.example.kbase
> declare org.jboss.drools.example.kbase.SimpleFact
>     @role(event)
>     @duration(duration)
> end
> {code}

--
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