[jboss-jira] [JBoss JIRA] (DROOLS-2153) DMN compiler throws NPE when underlying compilation fails and returns null

Tibor Zimányi (JIRA) issues at jboss.org
Tue Nov 28 09:09:00 EST 2017


Tibor Zimányi created DROOLS-2153:
-------------------------------------

             Summary: DMN compiler throws NPE when underlying compilation fails and returns null
                 Key: DROOLS-2153
                 URL: https://issues.jboss.org/browse/DROOLS-2153
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
    Affects Versions: 7.4.1.Final
            Reporter: Tibor Zimányi
            Assignee: Tibor Zimányi
             Fix For: 7.5.0.Final


When an underlying compilation fails and returns null, the compiler throws NPE. See the code here [1]. I will provide a PR with a fix and a reproducer. 

[1] https://github.com/baldimir/drools/blob/7a6db1342925872a898dee3f1d03f835b198a7eb/kie-dmn/kie-dmn-core/src/main/java/org/kie/dmn/core/compiler/DMNCompilerImpl.java#L116



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list