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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.23.0.Final
    • Fix Version/s: None
    • Component/s: dmn engine
    • Labels:
      None
    • Sprint:
      2019 Week 23-25
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      During testing of the WB changes for PMML support Jozef Marko 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 Jozef Marko used for his testing.

        Gliffy Diagrams

          Attachments

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

            Activity

              People

              • Assignee:
                tari_manga Matteo Mortari
                Reporter:
                manstis Michael Anstis
                Tester:
                Jozef Marko
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: