AnsweredAssumed Answered

deployed process diagram is not getting displayed in explorer

Question asked by penusila611621 on Sep 19, 2014
Latest reply on Oct 2, 2014 by haider01

For some of the deployed processes, explorer is not displaying process diagram & also process instance diagram for that process. Have noticed following error stack trace in server console when I click the process name under deployed processes tab.


15:13:30,674 INFO  [org.restlet.Component.LogService] (http-/0.0.0.0:8080-17) 2014-09-19   15:13:30   127.0.0.1   -   127.0.0.1   8080   GET   /activiti-explorer/service/process-definition/LoanApprovalPOC:19:89395/diagram-layout   callback=jQuery17104349532149017852_1411119810612&_=1411119810648   200   153   0   13   http://localhost:8080   Mozilla/5.0 (Windows NT 6.2; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0   http://localhost:8080/activiti-explorer/diagram-viewer/index.html?processDefinitionId=LoanApprovalPOC:19:89395
15:13:36,383 INFO  [org.restlet.Component.LogService] (http-/0.0.0.0:8080-17) 2014-09-19   15:13:36   127.0.0.1   -   127.0.0.1   8080   GET   /activiti-explorer/service/process-definition/RemoveProcess:5:43411/diagram-layout   callback=jQuery17109248014485643329_1411119816291&_=1411119816347   200   2973   0   10   http://localhost:8080   Mozilla/5.0 (Windows NT 6.2; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0   http://localhost:8080/activiti-explorer/diagram-viewer/index.html?processDefinitionId=RemoveProcess:5:43411&processInstanceId=43412
15:13:36,778 INFO  [org.restlet.Component.LogService] (http-/0.0.0.0:8080-17) 2014-09-19   15:13:36   127.0.0.1   -   127.0.0.1   8080   GET   /activiti-explorer/service/process-instance/43412/highlights   callback=jQuery17109248014485643329_1411119816292&_=1411119816603   200   444   0   21   http://localhost:8080   Mozilla/5.0 (Windows NT 6.2; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0   http://localhost:8080/activiti-explorer/diagram-viewer/index.html?processDefinitionId=RemoveProcess:5:43411&processInstanceId=43412
15:13:37,145 WARNING [org.restlet.Component.ExplorerRestApplication] (http-/0.0.0.0:8080-17) Exception or error caught in server resource: Internal Server Error (500) - The server encountered an unexpected condition which prevented it from fulfilling the request
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:517) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.ServerResource.get(ServerResource.java:707) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:589) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:649) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:348) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.ServerResource.handle(ServerResource.java:952) [org.restlet-2.1.4.jar:]
   at org.restlet.resource.Finder.handle(Finder.java:246) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.doHandle(Router.java:431) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.handle(Router.java:648) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84) [org.restlet-2.1.4.jar:]
   at org.restlet.Application.handle(Application.java:381) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.doHandle(Router.java:431) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.handle(Router.java:648) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.doHandle(Router.java:431) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Router.handle(Router.java:648) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.1.4.jar:]
   at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211) [org.restlet-2.1.4.jar:]
   at org.restlet.Component.handle(Component.java:392) [org.restlet-2.1.4.jar:]
   at org.restlet.Server.handle(Server.java:516) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.ServerHelper.handle(ServerHelper.java:72) [org.restlet-2.1.4.jar:]
   at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152) [org.restlet-2.1.4.jar:]
   at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1089) [org.restlet.ext.servlet-2.1.4.jar:]
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44) [activiti-explorer-5.15.1.jar:5.15.1]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
   at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
Caused by: java.lang.NullPointerException
   at org.activiti.rest.diagram.services.ProcessDefinitionDiagramLayoutResource.getActivity(ProcessDefinitionDiagramLayoutResource.java:440) [activiti-diagram-rest-5.15.1.jar:5.15.1]
   at org.activiti.rest.diagram.services.ProcessDefinitionDiagramLayoutResource.getDiagram(ProcessDefinitionDiagramLayoutResource.java:203) [activiti-diagram-rest-5.15.1.jar:5.15.1]
   at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) [:1.7.0_51]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
   at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:506) [org.restlet-2.1.4.jar:]

Outcomes