[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1341) Analytics fails on Inner Class Enums
Toni Rikkola (JIRA)
jira-events at lists.jboss.org
Mon Jul 7 08:53:08 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1341?page=all ]
Toni Rikkola closed JBRULES-1341.
---------------------------------
Fix Version/s: 5.0.0.M2
(was: 5.0.0.M1)
Resolution: Done
> 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
> Assigned To: Toni Rikkola
> Fix For: 5.0.0.M2
>
>
> 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