Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.4.1.GA
    • Component/s: PMML
    • Labels:
      None
    • Environment:

      OpenJdk 11

    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      Run ApplyScorecardModelIntegrationTest in Droolsjbpm integration with Java11 and XStream marshaller.

      Show
      Run ApplyScorecardModelIntegrationTest in Droolsjbpm integration with Java11 and XStream marshaller.
    • Story Points:
      1
    • Sprint:
      2019 Week 14-16, 2019 Week 17-19, 2019 Week 20-22, 2019 Week 23-25, 2019 Week 26-28, 2019 Week 29-31

      Description

      PMML marshalling using XSTREAM fails with following stacktrace:
      com.thoughtworks.xstream.converters.ConversionException:

      ---- Debugging information ----
      cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message : org.kie.pmml.pmml_4_2.model.SimpleScorecardScoreCardData
      class : org.kie.pmml.pmml_4_2.model.ScoreCard
      required-type : org.kie.pmml.pmml_4_2.model.ScoreCard
      converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
      path : /response/result/result[2]/org.kie.api.pmml.PMML4Result/resultVariables/entry[2]/org.kie.pmml.pmml_4_2.model.ScoreCard/holder
      line number : 27
      class[1] : java.util.HashMap
      converter-type[1] : com.thoughtworks.xstream.converters.collections.MapConverter
      class[2] : org.kie.api.pmml.PMML4Result
      class[3] : org.drools.core.runtime.impl.ExecutionResultImpl
      converter-type[2] : org.drools.core.runtime.help.impl.XStreamXML$BatchExecutionResultConverter
      class[4] : org.kie.server.api.model.ServiceResponse
      version : 7.4.0.redhat-20190306
      -------------------------------
      at org.kie.server.integrationtests.drools.pmml.ApplyScorecardModelIntegrationTest.testApplyPmmlScorecard(ApplyScorecardModelIntegrationTest.java:94)
      Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: org.kie.pmml.pmml_4_2.model.SimpleScorecardScoreCardData
      at org.kie.server.integrationtests.drools.pmml.ApplyScorecardModelIntegrationTest.testApplyPmmlScorecard(ApplyScorecardModelIntegrationTest.java:94)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lleveric Lance Leverich
                  Reporter:
                  jpetrlik Jiri Petrlik
                  Tester:
                  Jiri Petrlik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: