Error when migrating projects from BPMS 6.4 to RHPAM 7.2.0

Solution Unverified - Updated -

Issue

  • Attempt to migrate project from BPMS 6.4 to RHPAM 7.2.0 fails with the error:

    Error during create repository org.guvnor.common.services.shared.exceptions.GenericPortableException: java.lang.RuntimeException: org.uberfire.java.nio.fs.jgit.util.commands.Clone$CloneException: Error cloning origin <file:/var/opt/business-central/.niogit/Test/Test.git/> with subdirectory <Demo%20Test/>.
    ...
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0  
            at org.uberfire.java.nio.fs.jgit.util.commands.SubdirectoryClone.overrideBranchNames(SubdirectoryClone.java:210) ~[uberfire-nio2-jgit-2.11.0.Final-redhat-00004.jar:2.11.0.Final-redhat-00004]
            at org.uberfire.java.nio.fs.jgit.util.commands.SubdirectoryClone.execute(SubdirectoryClone.java:163) ~[uberfire-nio2-jgit-2.11.0.Final-redhat-00004.jar:2.11.0.Final-redhat-00004]
            ... 47 common frames omitted
    
  • When running the migration tool the following is logged:

    Launching the tool:
    ./migration-tool.sh -t /.../.../.../.niogit
    Choix n°1 : 1) PROJECT STRUCTURE MIGRATION (Moves old project structure to new modules structure)
    

Environment

  • Red Hat Process Automation Manager (RHPAM) 7
  • Executing migration-tool.sh;

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In