Unable to open asset with error 'No such file. Please check the file exists at the version selected.' after applying JBoss BxMS Update 6.2.2

Solution Verified - Updated -

Environment

  • Red Hat JBoss BPM Suite (BPMS) 6.2
    • Update 2
  • Red Hat JBoss BRMS (BRMS) 6.2
    • Update 2

Issue

  • After applying 6.2.2 patch, unable to open process designer when one login business central as specific user.
    In addition, the following assets can't open

    • Guided Decision Tables
    • Guided Rule
    • Test Scenarios

    with the following blue error message.

    No such file. Please check the file exists at the version selected.

  • After deleting existing repository, same phenomenon happens as well

Resolution

Please delete problematic user information from system git by the following commands.

  1. git clone $JBOSS_ROOT/bin/.niogit/system.git
  2. cd system
  3. git push origin : <user>-uf-user
$ git clone /home/rh/bpms622/jboss-eap-6.4/bin/.niogit/system.git
Cloning into 'system'...
done.
$ cd system 
$ git push origin :bpmsAdmin-uf-user
To /home/rh/bpms622/jboss-eap-6.4/bin/.niogit/system.git/
 - [deleted]         bpmsAdmin-uf-user
$

Root Cause

BZ#1324596(6.2.x)
BZ#1324592(6.3.x)

This will be fixed in 6.3.0/6.2.3.

Diagnostic Steps

At that time, exception like the following appear in server.log

02:16:32,431 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-/127.0.0.1:8080-2) Exception thrown: null: org.uberfire.java.nio.file.FileSystemNotFoundException
    at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getPath(JGitFileSystemProvider.java:790) [uberfire-nio2-jgit-0.7.5.Final-redhat-4.jar:0.7.5.Final-redhat-4]
    at org.uberfire.java.nio.file.Paths.get(Paths.java:76) [uberfire-nio2-api-0.7.5.Final-redhat-4.jar:0.7.5.Final-redhat-4]
    at org.uberfire.java.nio.file.Paths.get(Paths.java:60) [uberfire-nio2-api-0.7.5.Final-redhat-4.jar:0.7.5.Final-redhat-4]
    at org.guvnor.inbox.backend.server.security.InboxEntrySecurity.getInboxEntryRepository(InboxEntrySecurity.java:116) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.security.InboxEntrySecurity.canAccess(InboxEntrySecurity.java:77) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final redhat-9]
    at org.guvnor.inbox.backend.server.security.InboxEntrySecurity.secure(InboxEntrySecurity.java:68) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.security.InboxEntrySecurity$Proxy$_$$_WeldClientProxy.secure(InboxEntrySecurity$Proxy$_$$_WeldClientProxy.java) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl.readEntries(InboxBackendImpl.java:90) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl.addToInbox(InboxBackendImpl.java:197) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl.addToRecentOpened(InboxBackendImpl.java:183) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl.recordOpeningEvent(InboxBackendImpl.java:146) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl.recordOpeningEvent(InboxBackendImpl.java:120) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.guvnor.inbox.backend.server.InboxBackendImpl$Proxy$_$$_WeldClientProxy.recordOpeningEvent(InboxBackendImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-inbox-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
    at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:164) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:163) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:117) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:44) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:85) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:80) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.jboss.weld.event.EventImpl.fire(EventImpl.java:69) [weld-core-1.1.31.Final-redhat-1.jar:1.1.31.Final-redhat-1]
    at org.drools.workbench.screens.testscenario.backend.server.ScenarioTestEditorServiceImpl.constructContent(ScenarioTestEditorServiceImpl.java:205) [drools-wb-test-scenario-editor-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.drools.workbench.screens.testscenario.backend.server.ScenarioTestEditorServiceImpl.constructContent(ScenarioTestEditorServiceImpl.java:51) [drools-wb-test-scenario-editor-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.kie.workbench.common.services.backend.service.KieService.loadContent(KieService.java:92) [kie-wb-common-services-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.drools.workbench.screens.testscenario.backend.server.ScenarioTestEditorServiceImpl.loadContent(ScenarioTestEditorServiceImpl.java:183) [drools-wb-test-scenario-editor-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at org.drools.workbench.screens.testscenario.backend.server.ScenarioTestEditorServiceImpl$Proxy$_$$_WeldClientProxy.loadContent(ScenarioTestEditorServiceImpl$Proxy$_$$_WeldClientProxy.java) [drools-wb-test-scenario-editor-backend-6.3.0.Final-redhat-9.jar:6.3.0.Final-redhat-9]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
    at org.jboss.errai.bus.server.io.AbstractRPCMethodCallback.invokeMethodFromMessage(AbstractRPCMethodCallback.java:48) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:22) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.cdi.server.CDIExtensionPoints$2.callback(CDIExtensionPoints.java:396) [errai-weld-integration-3.0.6.Final-redhat-1.jar:3.0.6.Final-redhat-1]
    at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:296) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:142) [errai-bus-3.2.1.Final-redhat-2.jar:3.2.1.Final-redhat-2]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:53) [uberfire-servlet-security-0.7.5.Final-redhat-4.jar:0.7.5.Final-redhat-4]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:45) [uberfire-servlet-security-0.7.5.Final-redhat-4.jar:0.7.5.Final-redhat-4]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.4.Final-redhat-4.jar:7.5.4.Final-redhat-4]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.