[jboss-jira] [JBoss JIRA] (DROOLS-1622) NPE when compiling DMN file from test DMNRuntimeTest.testNoPrefix on IBM JDK

Tibor Zimányi (JIRA) issues at jboss.org
Thu Jun 22 06:57:01 EDT 2017


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

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

I think this problem might be related also to fail of test method DMNRuntimeTest.testPMMLFunctionContext which fails with this output [1]. The compilation should produce compilation error that PMML function definitions are not supported, but the error is not produced, because compilation "detects" the PMML function as FEEL. This is caused probably by wrong unmarshalling on IBM JDK, because from debugging it can be seen that here [2] the condition is true, because _kindStr_ is null, because it is wrongly read from the model as null. 

[1] https://gist.github.com/baldimir/f1099f66796e58707fc82624370ce9b5
[2] https://github.com/kiegroup/drools/blob/49be6c816880f64262eb0cdb08bcb59307284eeb/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DMNEvaluatorCompiler.java#L219

> NPE when compiling DMN file from test DMNRuntimeTest.testNoPrefix on IBM JDK
> ----------------------------------------------------------------------------
>
>                 Key: DROOLS-1622
>                 URL: https://issues.jboss.org/browse/DROOLS-1622
>             Project: Drools
>          Issue Type: Bug
>          Components: dmn engine
>    Affects Versions: 7.0.0.Final
>            Reporter: Tibor Zimányi
>            Assignee: Matteo Mortari
>              Labels: reported-by-qe
>             Fix For: 7.1.0.Final
>
>
> When running test [1] on IBM JDK, the test fails with this output [2].
> [1] https://github.com/kiegroup/drools/blob/32822e243a237cf26f26830a895035b97ba5a643/kie-dmn/kie-dmn-core/src/test/java/org/kie/dmn/core/DMNRuntimeTest.java#L845
> [2] https://gist.github.com/baldimir/969bd8f72665ff0e4244350abaed1ef4



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



More information about the jboss-jira mailing list