]
Esteban Aliverti commented on DROOLS-543:
-----------------------------------------
Added test case and simple solution:
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.