在春季启动时未实例化JBPM流程

时间:2019-08-21 11:44:48

标签: spring-boot jbpm

我正在尝试在Spring Boot上部署jbpm应用程序。 jbpm应用程序已成功部署,并且kie-server公开的大多数端点都按预期工作。

但是,每当我尝试使用KJAR(jbpm应用程序)中可用的进程时,都会在下面引发异常。

我正在尝试此端点:

http://localhost:8090/rest/server/containers/CBAM-Approval-Workflow_1.0.0-SNAPSHOT/processes/CBAM-Approval-Workflow/instances/correlation/168626

HTTP Method : POST

Request Payload : 
{"assetRule":
   {"com.AssetRule":
      {"id":null,"lineOfBusiness":"CMS","businessUnit":"CMBS","productCategory":"CMBS","consentCategory":"CONSENT","cmbs":"S_S_RECOMENDATION","processor":"MASTER_SERVICER_AND_NOT_SPECIAL_SERVICER"}
   },
 "resultList":
   {"com.Result":
     {"id":null,"currentNode":""}
   },
 "nextNodeDetails":
   {"com.NodeDetails":
     {"id":null,"nextNode":"","previousNode":""}
   },
  "currentState":
   {"com.CurrentState":
     {"id":null,"temp":""}
   },
  "processDetails":
   {"com.ProcessDetails":
     {"id":null,"approvalStatus":""}
   }
}

预期响应:6(任何process_id)

实际:如下所述的异常

预期:它将启动jbpm进程并在响应中返回该进程ID。

实际:

org.apache.cxf.interceptor.Fault: tried to access method java.lang.Object.clone()Ljava/lang/Object; from class org.jbpm.Process_org$u46$jbpm$u46$Asset$u45$Management1148365703
    at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) ~[cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) ~[cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:193) ~[cxf-rt-frontend-jaxrs-3.2.6.jar:3.2.6]
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:103) ~[cxf-rt-frontend-jaxrs-3.2.6.jar:3.2.6]
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) ~[cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) ~[cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-core-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:216) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) [tomcat-embed-core-9.0.22.jar:9.0.22]
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:276) [cxf-rt-transports-http-3.2.6.jar:3.2.6]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-9.0.22.jar:9.0.22]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.22.jar:9.0.22]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.22.jar:9.0.22]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.22.jar:9.0.22]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.22.jar:9.0.22]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) [spring-security-web-5.1.6.RELEASE.jar:5.1.6.RELEASE]

0 个答案:

没有答案