[jboss-jira] [JBoss JIRA] (DROOLS-5102) Execute a Table with multiple input can cause NullPointerException
Mario Fusco (Jira)
issues at jboss.org
Fri Feb 21 11:41:00 EST 2020
[ https://issues.redhat.com/browse/DROOLS-5102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-5102:
-----------------------------------
Assignee: Matteo Mortari (was: Mario Fusco)
> Execute a Table with multiple input can cause NullPointerException
> ------------------------------------------------------------------
>
> Key: DROOLS-5102
> URL: https://issues.redhat.com/browse/DROOLS-5102
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Affects Versions: 7.33.0.Final
> Reporter: Eugenio Romano
> Assignee: Matteo Mortari
> Priority: Critical
> Attachments: different-all.dmn
>
>
> If you execute the DMN table in attach in the last version you will have a NullPointerException in case your input value is not matching any output.
> We are moving from version 23 to 33 and one of our tests are catching this issue
> The ProcessedExpression Class seems can be responsible of causing this NullPointerException.
> {code:java}
> this.ast = (BaseNode)tree.accept(new ASTBuilderVisitor(ctx.getInputVariableTypes(), ctx.getFEELFeelTypeRegistry()))
> {code}
> If you try with
> "inputString", "hi"
> "inputInteger", 12
> "inputBoolean", false
> "inputDate", "2019-09-26T00:00:00.000+0000"
> you can replicate the error
> I guess the expected behavior should be a null output as before
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list