Skip to content

Instantly share code, notes, and snippets.

@ge0ffrey
Created February 23, 2016 13:07
Show Gist options
  • Select an option

  • Save ge0ffrey/564fe729443a5b58c134 to your computer and use it in GitHub Desktop.

Select an option

Save ge0ffrey/564fe729443a5b58c134 to your computer and use it in GitHub Desktop.
11:04:51.386 [main] INFO KieServicesClient connected to: KieServerBaseIntegrationTest@2016-02-54-110434_032 version 6.4.0-SNAPSHOT
11:04:51.386 [main] INFO Supported capabilities by the server: [BRM, OptaPlanner, KieServer]
11:04:51.432 [Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@7e952d41] INFO Container cloudbalance (for release id org.kie.server.testing:cloudbalance:1.0.0.Final) successfully stopped
11:04:51.525 [Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@7e952d41] INFO Container cloudbalance (for release id org.kie.server.testing:cloudbalance:1.0.0.Final) successfully started
11:04:51.602 [Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@7e952d41] INFO Solver 'cloudsolver' successfully created in container 'cloudbalance'
11:04:51.656 [pool-2-thread-2] INFO Solving started: time spent (8), best score (100uninitialized/0hard/0soft), environment mode (REPRODUCIBLE), random (JDK with seed 0).
11:04:51.680 [pool-2-thread-2] INFO Construction Heuristic phase (0) ended: step total (100), time spent (32), best score (-69hard/-11280soft).
11:04:51.696 [Acme.Utils.ThreadPool(1)-PooledThread: Acme.Serve.Serve$ServeConnection@7e952d41] ERROR Unexpected error during processing Can't marshall input object: ServiceResponse[SUCCESS, msg='Best computed solution for 'cloudsolver' successfully retrieved from container 'cloudbalance'']
org.kie.server.api.marshalling.MarshallingException: Can't marshall input object: ServiceResponse[SUCCESS, msg='Best computed solution for 'cloudsolver' successfully retrieved from container 'cloudbalance'']
at org.kie.server.api.marshalling.jaxb.JaxbMarshaller.marshall(JaxbMarshaller.java:238) ~[classes/:na]
at org.kie.server.services.impl.marshal.MarshallerHelper.marshal(MarshallerHelper.java:70) ~[classes/:na]
at org.kie.server.remote.rest.common.util.RestUtils.createCorrectVariant(RestUtils.java:43) ~[classes/:na]
at org.kie.server.remote.rest.optaplanner.SolverResource.getBestSolution(SolverResource.java:138) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_71]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_71]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.tjws.TJWSServletDispatcher.service(TJWSServletDispatcher.java:42) [resteasy-test-tjws-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]
at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2377) [tjws-2.3.10.Final.jar:na]
at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2331) [tjws-2.3.10.Final.jar:na]
at Acme.Serve.Serve$ServeConnection.run(Serve.java:2103) [tjws-2.3.10.Final.jar:na]
at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1408) [tjws-2.3.10.Final.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71]
Caused by: javax.xml.bind.MarshalException: null
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251) ~[jaxb-impl-2.2.11.jar:2.2.11]
at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:116) ~[na:1.8.0_71]
at org.kie.server.api.marshalling.jaxb.JaxbMarshaller.marshall(JaxbMarshaller.java:236) ~[classes/:na]
... 24 common frames omitted
Caused by: com.sun.istack.SAXException2: class org.kie.server.testing.CloudBalance nor any of its super class is known to this context.
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:653) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:158) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:158) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:360) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:593) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:341) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323) ~[jaxb-impl-2.2.11.jar:2.2.11]
... 27 common frames omitted
Caused by: javax.xml.bind.JAXBException: class org.kie.server.testing.CloudBalance nor any of its super class is known to this context.
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:582) ~[jaxb-impl-2.2.11.jar:2.2.11]
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:648) ~[jaxb-impl-2.2.11.jar:2.2.11]
... 36 common frames omitted
org.kie.server.client.KieServicesException: Unexpected HTTP response code when requesting URI 'http://localhost:36335/server/containers/cloudbalance/solvers/cloudsolver/bestsolution'! Error code: 500, message: Unexpected error during processing: Can't marshall input object: ServiceResponse[SUCCESS, msg='Best computed solution for 'cloudsolver' successfully retrieved from container 'cloudbalance'']
at org.kie.server.client.impl.AbstractKieServicesClientImpl.createExceptionForUnexpectedResponseCode(AbstractKieServicesClientImpl.java:495)
at org.kie.server.client.impl.AbstractKieServicesClientImpl.makeHttpGetRequestAndCreateServiceResponse(AbstractKieServicesClientImpl.java:142)
at org.kie.server.client.impl.SolverServicesClientImpl.getSolverBestSolution(SolverServicesClientImpl.java:91)
at org.kie.server.integrationtests.optaplanner.OptaplannerIntegrationTest.testGetBestSolution(OptaplannerIntegrationTest.java:265)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment