[jboss-jira] [JBoss JIRA] (DROOLS-1678) Unary test "in" defined before variable throws NPE
Edson Tirelli (JIRA)
issues at jboss.org
Tue Oct 10 09:53:01 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474655#comment-13474655 ]
Edson Tirelli commented on DROOLS-1678:
---------------------------------------
As discussed in the IRC, "in" is not a valid unary test operator, so the syntax of the test is wrong.
> Unary test "in" defined before variable throws NPE
> --------------------------------------------------
>
> Key: DROOLS-1678
> URL: https://issues.jboss.org/browse/DROOLS-1678
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Affects Versions: 7.1.0.Final
> Reporter: Tibor Zimányi
> Assignee: Fedor Gavrilov
> Fix For: 7.5.0.Final
>
>
> Having this DMN test with Unary test defined:
> {code:java}
> { test : in x, y : 20, x : [10, 20, 30], result : test( y ) }.result
> {code}
> The test fails on NPE with the following stacktrace:
> https://gist.github.com/baldimir/630c68e766285e430a1755924ea9a66b
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list