[
https://issues.jboss.org/browse/DROOLS-2937?page=com.atlassian.jira.plugi...
]
Matteo Mortari updated DROOLS-2937:
-----------------------------------
Description:
Given
{code:java}
final DMNModel dmnModel = runtime.getModel("<wrong>",
"<wrong>");
// please notice an end-user of the API might not having checked the result of the
previous call is not a null.
DMNContext emptyContext = DMNFactory.newContext();
DMNResult dmnResult = runtime.evaluateAll(dmnModel, emptyContext);
{code}
This would fail with:
DMNRuntime API parameter nullcheck
----------------------------------
Key: DROOLS-2937
URL:
https://issues.jboss.org/browse/DROOLS-2937
Project: Drools
Issue Type: Enhancement
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Given
{code:java}
final DMNModel dmnModel = runtime.getModel("<wrong>",
"<wrong>");
// please notice an end-user of the API might not having checked the result of
the previous call is not a null.
DMNContext emptyContext = DMNFactory.newContext();
DMNResult dmnResult = runtime.evaluateAll(dmnModel, emptyContext);
{code}
This would fail with:
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)