[jboss-jira] [JBoss JIRA] (DROOLS-1613) NPE when evaluating a DMN decision table with multiple outputs and one of the outputs has wrong type

Tibor Zimányi (JIRA) issues at jboss.org
Tue Jun 13 06:33:00 EDT 2017


    [ https://issues.jboss.org/browse/DROOLS-1613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420086#comment-13420086 ] 

Tibor Zimányi commented on DROOLS-1613:
---------------------------------------

PR with reproducer is her: https://github.com/kiegroup/drools/pull/1320

Reproducer test is DMNDecisionTableRuntimeTest.testSimpleDecisionTableMultipleOutputWrongOutputType(). 

> NPE when evaluating a DMN decision table with multiple outputs and one of the outputs has wrong type
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1613
>                 URL: https://issues.jboss.org/browse/DROOLS-1613
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>    Affects Versions: 7.0.0.Final
>            Reporter: Tibor Zimányi
>            Assignee: Matteo Mortari
>             Fix For: 7.1.0.Final
>
>
> When I have a decision table with hit policy Priority and multiple outputs and I change one of the outputs in a rule to a wrong type, the evaluation ends with NullPointerException. 
> E.g. having output entry like this: 
> <outputEntry id="_7f03803d-2636-40ab-8346-7fd7f38ab695-3">
>     <text>1</text>
> </outputEntry>
> I will provide PR with reproducer for this. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list