-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
When working with DROOLS-6566, I tried running org.kie.karaf.itest.kieserver.KieServerClientKarafIntegrationJaxbIntegrationTest.
In the logs I found JAXB problem, which actually clearly describes where's the problem:
list = {java.util.ArrayList@8719} size = 3
0 = {com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException@8721} "org.kie.dmn.api.core.DMNMessage is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at org.kie.dmn.api.core.DMNMessage
at public java.util.List org.kie.server.api.model.dmn.DMNDecisionResultKS.getMessages()
at org.kie.server.api.model.dmn.DMNDecisionResultKS"
1 = {com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException@8722} "org.optaplanner.core.impl.solver.ProblemFactChange is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at org.optaplanner.core.impl.solver.ProblemFactChange
at public org.optaplanner.core.impl.solver.ProblemFactChange org.kie.server.api.commands.optaplanner.AddProblemFactChangeCommand.getProblemFactChange()
at org.kie.server.api.commands.optaplanner.AddProblemFactChangeCommand"
2 = {com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationException@8723} "org.kie.dmn.api.core.DMNDecisionResult is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at org.kie.dmn.api.core.DMNDecisionResult
at public java.util.List org.kie.server.api.model.dmn.DMNResultKS.getDecisionResults()
at org.kie.server.api.model.dmn.DMNResultKS"
I'm almost sure it's not OSGi specific (because JAXB implementation is taken from JDK itself). Please check if this JAXB problem occurs also in other integration tests.
- is related to
-
DROOLS-6842 Test failures in kie-karaf-itests
-
- Closed
-
- relates to
-
DROOLS-6566 Upgrade Karaf version to 4.3
-
- Resolved
-