Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4105

org.uberfire.java.nio.file.NoSuchFileException when creating a new project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.4.0
    • 6.3.0.GA
    • Business Central
    • Server

      • OS : WIndowsServer 2012 R2 Standard (64bit)
      • EAP : 6.4.8
      • JDK:1.7

      Client

      • Windows7 pro 32bit (Japanese)
      • Google Chrome 51.0
    • ER3
      • Create a project with business-central

      A customer hits NoSuchFileException when creating a new project. On browser side, a pop-up tells "myproject/pom.xml is not found". The new project is not displayed in Explorer. But actually the project is created so reloading browser or switching ProjectView <-> repositoryView would help.

      11:09:57,923 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-0.0.0.0:8080-1) Exception thrown: null: org.uberfire.java.nio.file.NoSuchFileException
              at org.uberfire.java.nio.fs.jgit.util.JGitUtil.buildBasicAttributes(JGitUtil.java:1112) [uberfire-nio2-jgit-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.java.nio.fs.jgit.JGitBasicAttributeView.readAttributes(JGitBasicAttributeView.java:42) [uberfire-nio2-jgit-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.readAttributes(JGitFileSystemProvider.java:1760) [uberfire-nio2-jgit-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.java.nio.file.Files.readAttributes(Files.java:574) [uberfire-nio2-api-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.java.nio.file.Files.size(Files.java:732) [uberfire-nio2-api-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.java.nio.file.Files.readAllBytes(Files.java:1042) [uberfire-nio2-api-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.io.impl.AbstractIOService.readAllString(AbstractIOService.java:457) [uberfire-io-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.uberfire.io.impl.AbstractIOService.readAllString(AbstractIOService.java:467) [uberfire-io-0.8.0.Final-redhat-3.jar:0.8.0.Final-redhat-3]
              at org.guvnor.common.services.project.backend.server.POMServiceImpl.loadPomXMLString(POMServiceImpl.java:114) [guvnor-project-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.guvnor.common.services.project.backend.server.POMServiceImpl.load(POMServiceImpl.java:105) [guvnor-project-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.guvnor.common.services.project.backend.server.POMServiceImpl.load(POMServiceImpl.java:40) [guvnor-project-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at sun.reflect.GeneratedMethodAccessor226.invoke(Unknown Source) [: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.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:45) [weld-core-1.1.33.Final-redhat-1.jar:1.1.33.Final-redhat-1]
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.33.Final-redhat-1.jar:1.1.33.Final-redhat-1]
              at org.guvnor.common.services.project.backend.server.POMServiceImpl$Proxy$_$$_WeldClientProxy.load(POMServiceImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-project-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.services.backend.project.KieResourceResolver.makeProject(KieResourceResolver.java:108) [kie-wb-common-services-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.services.backend.project.KieResourceResolver.resolveProject(KieResourceResolver.java:98) [kie-wb-common-services-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.services.backend.project.KieResourceResolver.resolvePackage(KieResourceResolver.java:125) [kie-wb-common-services-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.guvnor.common.services.project.backend.server.ResourceResolver.resolvePackages(ResourceResolver.java:280) [guvnor-project-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.services.backend.project.KieProjectServiceImpl.resolvePackages(KieProjectServiceImpl.java:156) [kie-wb-common-services-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.services.backend.project.KieProjectServiceImpl$Proxy$_$$_WeldClientProxy.resolvePackages(KieProjectServiceImpl$Proxy$_$$_WeldClientProxy.java) [kie-wb-common-services-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceHelper.getItems(ExplorerServiceHelper.java:238) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.FolderListingResolver.getFolderListing(FolderListingResolver.java:71) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.FolderListingResolver.resolve(FolderListingResolver.java:54) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceHelper.getFolderListing(ExplorerServiceHelper.java:153) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ProjectExplorerContentResolver.setFolderListing(ProjectExplorerContentResolver.java:141) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ProjectExplorerContentResolver.projectExplorerContentWithSelections(ProjectExplorerContentResolver.java:107) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ProjectExplorerContentResolver.resolve(ProjectExplorerContentResolver.java:99) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceImpl.getContent(ExplorerServiceImpl.java:204) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
              at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceImpl$Proxy$_$$_WeldClientProxy.getContent(ExplorerServiceImpl$Proxy$_$$_WeldClientProxy.java) [kie-wb-common-project-explorer-backend-6.4.0.Final-redhat-3.jar:6.4.0.Final-redhat-3]
      ...
      

      This issue happens with single user. It doesn't constantly happen but once in 10〜 times for the customer.

      We cannot reproduce it on our side.

              abakos@redhat.com Alexandre Porcelli
              rhn-support-tkobayas Toshiya Kobayashi
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: