Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1101353

Summary: jbpm web designer error when close a process instance model view
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ryan Zhang <rzhang>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Kirill Gaevskii <kgaevski>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.2CC: jlindop, kgaevski, kverlaen, rrajasek
Target Milestone: ---   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-18 09:09:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log
none
screenshot-howto none

Description Ryan Zhang 2014-05-27 03:46:11 UTC
Description of problem:
When I open an process instance and open the "Process Model" view (eg mortgage demo in jboss-bpm-example) everything looks fine.
However when I click the "x" button in right corner of UI, the error happened. I will attach a screenshot to show this button.

The error states that:
11:38:32,524 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) java.lang.IllegalStateException: Repository with alias dummy not found
11:38:32,524 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.RepositoryDescriptorProvider.getRepositoryDescriptor(RepositoryDescriptorProvider.java:58)
11:38:32,525 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.RepositoryDescriptorProvider$Proxy$_$$_WeldClientProxy.getRepositoryDescriptor(RepositoryDescriptorProvider$Proxy$_$$_WeldClientProxy.java)
11:38:32,525 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.RepositoryDescriptor.configure(RepositoryDescriptor.java:112)
11:38:32,525 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.RepositoryDescriptor.getFileSystem(RepositoryDescriptor.java:80)
11:38:32,526 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.RepositoryDescriptor$Proxy$_$$_WeldClientProxy.getFileSystem(RepositoryDescriptor$Proxy$_$$_WeldClientProxy.java)
11:38:32,526 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.VFSRepository.getFileSystem(VFSRepository.java:538)
11:38:32,526 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.VFSRepository.loadAsset(VFSRepository.java:310)
11:38:32,526 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.repository.vfs.VFSRepository$Proxy$_$$_WeldClientProxy.loadAsset(VFSRepository$Proxy$_$$_WeldClientProxy.java)
11:38:32,526 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:32)
11:38:32,527 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:117)
11:38:32,527 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
11:38:32,527 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
11:38:32,527 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
11:38:32,528 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
11:38:32,528 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
11:38:32,528 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
11:38:32,528 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
11:38:32,529 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
11:38:32,529 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
11:38:32,529 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
11:38:32,529 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
11:38:32,529 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
11:38:32,530 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
11:38:32,530 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
11:38:32,530 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
11:38:32,530 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
11:38:32,531 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
11:38:32,531 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
11:38:32,531 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
11:38:32,531 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
11:38:32,531 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
11:38:32,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
11:38:32,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
11:38:32,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
11:38:32,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:408)
11:38:32,532 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
11:38:32,533 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
11:38:32,533 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
11:38:32,533 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
11:38:32,533 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
11:38:32,533 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) 	at java.lang.Thread.run(Thread.java:722)
11:38:32,562 WARN  [org.jboss.solder.exception.control.log] (http-localhost/127.0.0.1:8080-2) No handlers found for exception java.lang.IllegalArgumentException: java.io.FileNotFoundException: /lab/1brms6/6.0.2/ER3/jboss-eap-6.1/standalone/deployments/business-central.war/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/stencilset/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json (No such file or directory)
11:38:32,563 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/business-central].[StencilSetServiceServlet]] (http-localhost/127.0.0.1:8080-2) JBWEB000236: Servlet.service() for servlet StencilSetServiceServlet threw exception: java.lang.IllegalArgumentException: java.io.FileNotFoundException: /lab/1brms6/6.0.2/ER3/jboss-eap-6.1/standalone/deployments/business-central.war/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/stencilset/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json (No such file or directory)
	at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:46) [jbpm-designer-backend-6.0.3-redhat-2.jar:6.0.3-redhat-2]
	at org.jbpm.designer.web.stencilset.impl.StencilSetServiceServlet.doGet(StencilSetServiceServlet.java:119) [jbpm-designer-backend-6.0.3-redhat-2.jar:6.0.3-redhat-2]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
	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.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.2.1.Final.jar:3.2.1.Final]
	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.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.2.1.Final.jar:3.2.1.Final]
	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.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70) [jbpm-designer-backend-6.0.3-redhat-2.jar:6.0.3-redhat-2]
	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.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266) [uberfire-security-server-0.3.3-redhat-2.jar:0.3.3-redhat-2]
	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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
	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.authenticator.SingleSignOn.invoke(SingleSignOn.java:408) [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:722) [rt.jar:1.7.0_17]
Caused by: java.io.FileNotFoundException: /lab/1brms6/6.0.2/ER3/jboss-eap-6.1/standalone/deployments/business-central.war/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/stencilset/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json (No such file or directory)
	at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_17]
	at java.io.FileInputStream.<init>(FileInputStream.java:138) [rt.jar:1.7.0_17]
	at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:44) [jbpm-designer-backend-6.0.3-redhat-2.jar:6.0.3-redhat-2]
	... 32 more


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run the jboss-bpm-example in order to get some process instance ( I think this would also happen to any process instance)
2.Click the "view"->"Process Model", then the process model will be shown
3.Click the "x" in right corner of the UI screen in order to close the current view.
4. You can see the error in terminal console and server.log

Actual results:


Expected results:


Additional info:

Comment 1 Ryan Zhang 2014-05-27 03:47:03 UTC
Created attachment 899377 [details]
server.log

Comment 2 Ryan Zhang 2014-05-27 03:50:06 UTC
Created attachment 899378 [details]
screenshot-howto

Comment 4 Jeremy Lindop 2015-12-17 15:35:40 UTC
The process model for a process instance is now shown in a popup dialog rather than in the left hand pane of the view (as in the attached image).
Because of this, and because there is no error when you close either the process model popup or the Instance view, this BZ seems to be not relevant any more.

Kirill - if you agree, will you close this?

Comment 5 Kirill Gaevskii 2015-12-18 09:09:43 UTC
I am agree.