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: 4.1.0
Reporter: Steve Shabino
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