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

Edson Tirelli (JIRA) issues at jboss.org
Mon Jun 19 17:19:00 EDT 2017


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

Edson Tirelli commented on DROOLS-1613:
---------------------------------------

[~tari_manga] sorry, but Tibor had both tests for DROOLS-1612 and DROOLS-1613 in the same PR, so I fixed both. I hope you did not waste much time on this ticket.

> 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: Edson Tirelli
>             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