Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2153

DMN compiler throws NPE when underlying compilation fails and returns null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.5.0.Final
    • 7.4.1.Final
    • dmn engine
    • None
    • 2017 Week 47-48
    • NEW
    • NEW

    Description

      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

      Attachments

        Activity

          People

            tzimanyi@redhat.com Tibor Zimányi
            tzimanyi@redhat.com Tibor Zimányi
            Tibor Zimányi Tibor Zimányi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: