-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
7.18.0.Final, 7.20.0.Final
-
None
-
-
NEW
-
NEW
There is a problem with the "first" execution of a put solver command, in detail when I run it I get errors as if it were missing some dependency in the pom.
I also found that if I do a "stop and start" of the previous container and within a few seconds I launch the same put solver command instead works, and also subsequent calls with new solvers work.
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NoClassDefFoundError: org/gjt/xpp/XmlStartTag at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at com.thoughtworks.xstream.mapper.AnnotationMapper.processTypes(AnnotationMapper.java:205) at com.thoughtworks.xstream.mapper.AnnotationMapper.processAnnotations(AnnotationMapper.java:165) at com.thoughtworks.xstream.XStream.processAnnotations(XStream.java:2320) at com.thoughtworks.xstream.XStream.processAnnotations(XStream.java:2331) at org.kie.server.api.marshalling.xstream.XStreamMarshaller.configureMarshaller(XStreamMarshaller.java:205) at org.kie.server.api.marshalling.xstream.XStreamMarshaller.<init>(XStreamMarshaller.java:110) at org.kie.server.api.marshalling.BaseMarshallerBuilder.build(BaseMarshallerBuilder.java:37) at org.kie.server.api.marshalling.MarshallerFactory.getMarshaller(MarshallerFactory.java:52) at org.kie.server.services.impl.KieContainerInstanceImpl.getMarshaller(KieContainerInstanceImpl.java:184) at org.kie.server.services.impl.marshal.MarshallerHelper.unmarshal(MarshallerHelper.java:102) at org.kie.server.services.impl.marshal.MarshallerHelper.unmarshal(MarshallerHelper.java:87) at org.kie.server.remote.rest.optaplanner.SolverResource.createSolver(SolverResource.java:114) 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:498) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:509) at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:399) at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:363) at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358) at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:365) at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337) at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:310) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:443) ... 53 more