]
Esteban Aliverti commented on DROOLS-543:
-----------------------------------------
The error only happens when more than one declared types are involved and only if some of
the fields of these declared types is an array.
Invalid type declaration in DRL throws a NullPointerException instead
of the real error
---------------------------------------------------------------------------------------
Key: DROOLS-543
URL:
https://issues.jboss.org/browse/DROOLS-543
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 6.2.0.CR1
Reporter: Esteban Aliverti
Assignee: Mark Proctor
Priority: Minor
When a declared type has compilation errors, kbuilder continues with the compilation of
the rules. Under certain scenarios this causes a confusing NPE.