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

kie-dmn-core: PMMLInfo NPE when model has null output

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.23.0.Final
    • dmn engine
    • None
    • 2019 Week 23-25
    • NEW
    • NEW

    Description

      During testing of the WB changes for PMML support jomarko@redhat.com found the example PMML files referenced by our KIE documentation failed to have a number of models listed against their document definition.

      On examination PMMLInfo.from(..) throws a NPE if the PMML model lacks an output (see L#57 that throws the NPE if the model has a null output). I've attached the files jomarko@redhat.com used for his testing.

      Attachments

        1. model.pmml
          9 kB
        2. model-2.pmml
          3 kB
        3. model-3.pmml
          3 kB
        4. model-4.pmml
          2 kB

        Activity

          People

            mmortari@redhat.com Matteo Mortari
            manstis@redhat.com Michael Anstis
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: