严重: Servlet.service() for servlet spring-mvc threw exception
java.lang.IllegalStateException: Circular reference found: activity(start1)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:128)
at com.google.gson.JsonSerializationVisitor.getJsonElementForChild(JsonSerializationVisitor.java:163)
at com.google.gson.JsonSerializationVisitor.addAsChildOfObject(JsonSerializationVisitor.java:137)
at com.google.gson.JsonSerializationVisitor.visitObjectField(JsonSerializationVisitor.java:132)
at com.google.gson.ObjectNavigator.navigateClassFields(ObjectNavigator.java:179)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:151)
at com.google.gson.JsonSerializationVisitor.getJsonElementForChild(JsonSerializationVisitor.java:163)
at com.google.gson.JsonSerializationVisitor.addAsArrayElement(JsonSerializationVisitor.java:150)
at com.google.gson.JsonSerializationVisitor.visitCollection(JsonSerializationVisitor.java:78)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:137)
at com.google.gson.JsonSerializationVisitor.getJsonElementForChild(JsonSerializationVisitor.java:163)
at com.google.gson.JsonSerializationVisitor.addAsChildOfObject(JsonSerializationVisitor.java:137)
at com.google.gson.JsonSerializationVisitor.visitCollectionField(JsonSerializationVisitor.java:103)
at com.google.gson.ObjectNavigator.navigateClassFields(ObjectNavigator.java:174)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:151)
at com.google.gson.JsonSerializationVisitor.getJsonElementForChild(JsonSerializationVisitor.java:163)
at com.google.gson.JsonSerializationVisitor.addAsChildOfObject(JsonSerializationVisitor.java:137)
at com.google.gson.JsonSerializationVisitor.visitObjectField(JsonSerializationVisitor.java:132)
at com.google.gson.ObjectNavigator.navigateClassFields(ObjectNavigator.java:179)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:151)
at com.google.gson.JsonSerializationVisitor.getJsonElementForChild(JsonSerializationVisitor.java:163)
at com.google.gson.JsonSerializationVisitor.addAsArrayElement(JsonSerializationVisitor.java:150)
at com.google.gson.JsonSerializationVisitor.visitCollection(JsonSerializationVisitor.java:78)
at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:137)
at com.google.gson.JsonSerializationContextDefault.serialize(JsonSerializationContextDefault.java:47)
at com.google.gson.Gson.toJson(Gson.java:273)
at com.google.gson.Gson.toJson(Gson.java:229)
at com.google.gson.Gson.toJson(Gson.java:209)
at com.jbpm.test.controller.JbpmController.getProcessList(JbpmController.java:232)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
/** a graphical process which is deployed in the {@link RepositoryService}.
*
* @author Tom Baeyens
*/
public inte易做图ce ProcessDefinition extends Serializable {
/** the short display name given to this process definition.
* Multiple process definitions can have the same as long
* as they are given a different {@link #getVersion() version}. */
String getName();
/** the user defined short representation of the name. Just
* like the name, multiple versions of a process definition
* can have the same key. */
String getKey();
/** the unique id for this process definition that is used as a reference in the service methods. */
String getId();
/** automatically assigned during deployment of a process that
* represents the sequence number for process definitions with
* the same {@link #getName() name}. */
int getVersion();
/** references the deployment in which this process definition is
* deployed. */
String getDeploymentId();
/** the name of the resource in the deployment which contains the image
* file for this process */
String getImageResourceName();
/** description of the process definition */
String getDescription();
/** Returns whether this process definition is currently suspended. */
boolean isSuspended();