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