]
Edson Tirelli commented on DROOLS-1432:
---------------------------------------
Major infrastructure changes to properly support error validation are now implemented.
Type definition and resolution is now correlated between DMN layer and FEEL layer.
Additional work will be done through other tickets.
Improve error messages when compiling models with errors
--------------------------------------------------------
Key: DROOLS-1432
URL:
https://issues.jboss.org/browse/DROOLS-1432
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.0.0.Beta6
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 7.0.0.Final
Attachments: car_damage_responsibility2.dmn
When a model contains errors that prevent compilation, the engine should provide a better
error message pointing to the specific error.
At the moment, the attached model fails with a NPE and a message:
{quote}Message [id=1, kieBase=defaultKieBase, level=ERROR,
path=car_damage_responsibility2.dmn, line=-1, column=0 text=Unable to compile DMN model
for the resource]{quote}