[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1341) Analytics fails on Inner Class Enums

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Mar 12 12:29:01 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBRULES-1341?page=all ]

Mark Proctor updated JBRULES-1341:
----------------------------------

    Fix Version/s: 5.0.0-M1

> Analytics fails on Inner Class Enums
> ------------------------------------
>
>                 Key: JBRULES-1341
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1341
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.0.0-M1
>            Reporter: Steve Shabino
>             Fix For: 5.0.0-M1
>
>
> Drools Analytics fails when flattening a condition with an inner-class enum like this:
> vs : WorkerStatus(type != WorkerStatus.Type.ON_JOB)
> NPE in PackageDescrFlattener when executing method:
> private void flatten(QualifiedIdentifierRestrictionDescr descr, AnalyticsComponent parent, int orderNumber)
> on line:
> restriction.setVariableId(variable.getId());
> Running in the debugger proves that variable == null.
> One can reproduce this error by running analytics on the "dispatch" example in contrib/benchmarks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list