Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-523

Error when migrating repository cloned into workbench from file URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • None
    • None
      1. Clone Bpms-assets repository to business central (RHBPM 648).
      2. Stop the server and run configuration tool.
      3. Exception is thrown.

      When you try to migrat repository which were cloned to business central from local url, the migration tool will fail with exception.

      To clone the repo use:

      git clone https://code.engineering.redhat.com/gerrit/bpms-assets-6.4.x
      

      Console log:

      Moving built-in repositories to system space...
      Moving system.git...
      Moving datasets.git...
      Moving plugins.git...
      Finished moving built-in repositories.
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      Found 2 user repositories:
              myreporepo
              repository1
      Updating repository configurations with spaces...
      Configuring repo [myreporepo] in space [myogrunit]...
      Configuring repo [repository1] in space [example]...
      Finished updating repository configurations.
      Moving repositories into spaces...
      Moving repo [repository1] into space [example]...
      Moving repo [myreporepo] into space [myogrunit]...
      Finished moving repositories into space.
      Found 2 projects:
              repository1
              myreporepo
      Migrating [repository1]...
      Migrating [myreporepo]...
      java.lang.RuntimeException
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.createFileSystem(GitRepositoryBuilder.java:137)
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.build(GitRepositoryBuilder.java:71)
              at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:83)
              at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(Unknown Source)
              at org.guvnor.structure.backend.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:64)
              at org.guvnor.structure.backend.repositories.RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.newRepository(Unknown Source)
              at org.guvnor.structure.backend.repositories.ConfiguredRepositories.reloadRepositories(ConfiguredRepositories.java:78)
              at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
              at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
              at org.guvnor.structure.backend.repositories.ConfiguredRepositories$Proxy$_$$_WeldClientProxy.reloadRepositories(Unknown Source)
              at org.guvnor.structure.backend.repositories.RepositoryCopierImpl.fireNewBranchEvent(RepositoryCopierImpl.java:160)
              at org.guvnor.structure.backend.repositories.RepositoryCopierImpl.copy(RepositoryCopierImpl.java:133)
              at org.guvnor.common.services.project.backend.server.WorkspaceProjectMigrationServiceImpl$Migrator.copyFromLegacyRepositoryToTheNew(WorkspaceProjectMigrationServiceImpl.java:121)
              at org.guvnor.common.services.project.backend.server.WorkspaceProjectMigrationServiceImpl$Migrator.copyModulesToRepositories(WorkspaceProjectMigrationServiceImpl.java:108)
              at org.guvnor.common.services.project.backend.server.WorkspaceProjectMigrationServiceImpl$Migrator.migrate(WorkspaceProjectMigrationServiceImpl.java:87)
              at org.guvnor.common.services.project.backend.server.WorkspaceProjectMigrationServiceImpl.migrate(WorkspaceProjectMigrationServiceImpl.java:73)
              at org.kie.workbench.common.project.cli.InternalMigrationService.lambda$migrateProjectsToIndividualRepos$1(InternalMigrationService.java:103)
              at java.util.ArrayList.forEach(ArrayList.java:1257)
              at org.kie.workbench.common.project.cli.InternalMigrationService.migrateProjectsToIndividualRepos(InternalMigrationService.java:100)
              at org.kie.workbench.common.project.cli.InternalMigrationService.migrateAllProjects(InternalMigrationService.java:76)
              at org.kie.workbench.common.project.cli.InternalMigrationService$Proxy$_$$_WeldClientProxy.migrateAllProjects(Unknown Source)
              at org.kie.workbench.common.project.MigrationTool.migrateAndExit(MigrationTool.java:155)
              at org.kie.workbench.common.project.MigrationTool.run(MigrationTool.java:93)
              at org.kie.workbench.common.project.MigrationTool.main(MigrationTool.java:61)
      Caused by: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException
              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.createNewGitRepo(JGitFileSystemProvider.java:676)
              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.lambda$newFileSystem$2(JGitFileSystemProvider.java:557)
              at org.uberfire.java.nio.fs.jgit.manager.JGitFileSystemsManager.lambda$createFileSystemSupplier$0(JGitFileSystemsManager.java:105)
              at org.uberfire.java.nio.fs.jgit.manager.MemoizedFileSystemsSupplier.lambda$get$0(MemoizedFileSystemsSupplier.java:36)
              at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660)
              at org.uberfire.java.nio.fs.jgit.manager.MemoizedFileSystemsSupplier.get(MemoizedFileSystemsSupplier.java:35)
              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProxy.getRootDirectories(JGitFileSystemProxy.java:199)
              at org.uberfire.java.nio.file.FileSystemMetadata.<init>(FileSystemMetadata.java:32)
              at org.uberfire.io.impl.AbstractIOService.registerFS(AbstractIOService.java:255)
              at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:235)
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.newFileSystem(GitRepositoryBuilder.java:144)
              at org.guvnor.structure.backend.repositories.git.GitRepositoryBuilder.createFileSystem(GitRepositoryBuilder.java:127)
              ... 26 more
      Caused by: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException
              at org.uberfire.java.nio.fs.jgit.util.commands.Clone.execute(Clone.java:106)
              at org.uberfire.java.nio.fs.jgit.util.Git.clone(Git.java:91)
              at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.createNewGitRepo(JGitFileSystemProvider.java:668)
              ... 37 more
      
      

              mbarkley_jira Max Barkley (Inactive)
              tdavid@redhat.com Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: