[jboss-jira] [JBoss JIRA] (DROOLS-4154) kie-dmn-core: PMMLInfo NPE when model has zero outputs

Michael Anstis (Jira) issues at jboss.org
Mon Jun 10 15:30:01 EDT 2019


Michael Anstis created DROOLS-4154:
--------------------------------------

             Summary: kie-dmn-core: PMMLInfo NPE when model has zero outputs
                 Key: DROOLS-4154
                 URL: https://issues.jboss.org/browse/DROOLS-4154
             Project: Drools
          Issue Type: Bug
          Components: dmn engine
    Affects Versions: 7.23.0.Final
            Reporter: Michael Anstis
            Assignee: Matteo Mortari
         Attachments: model-2.pmml, model-3.pmml, model-4.pmml, model.pmml

During testing of the WB changes for PMML support [~jomarko] 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] used for his testing.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list