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

Error on migrate a git project from version 6.4 to 7.8.1

    XMLWordPrintable

Details

    • ER1
    • Hide

      1. Create a temp folder to store the projects
      2. Clone the project https://github.com/jbossdemocentral/brms-coolstore-repo.git
      3. Download and extract the migration tool from https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=87381&product=rhpam&version=7.8.1&downloadType=distributions
      4. create an output folder to store the migrated project
      5. run the migration tool with the command:

      ~~~
      ./migration-tool.sh -t ~/Path/to/cloned/project/brms-coolstore-repo/
      ~~~

      Show
      1. Create a temp folder to store the projects 2. Clone the project https://github.com/jbossdemocentral/brms-coolstore-repo.git 3. Download and extract the migration tool from https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=87381&product=rhpam&version=7.8.1&downloadType=distributions 4. create an output folder to store the migrated project 5. run the migration tool with the command: ~~~ ./migration-tool.sh -t ~/Path/to/cloned/project/brms-coolstore-repo/ ~~~
    • 2021 Week 31-33 (from Aug 2)
    • ?

    Description

      When try to migrate a project hosted in a external git, using migration tool, from 6.4 to 7.8.1 is returned the error:
       
      {{java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
      at org.guvnor.structure.organizationalunit.config.RepositoryInfo.isAvoidIndex(RepositoryInfo.java:81)
      at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper.newRepository(GitRepositoryFactoryHelper.java:93)
      at org.guvnor.structure.backend.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(Unknown Source)
      at org.guvnor.structure.backend.repositories.RepositoryFactoryImpl.newRepository(RepositoryFactoryImpl.java:58)
      at org.guvnor.structure.backend.repositories.RepositoryFactoryImpl$Proxy$_$$_WeldClientProxy.newRepository(Unknown Source)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:604)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl.lambda$createRepository$15(RepositoryServiceImpl.java:589)
      at org.guvnor.structure.backend.organizationalunit.config.SpaceConfigStorageRegistryImpl$SpaceStorageBatchImpl.run(SpaceConfigStorageRegistryImpl.java:104)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:565)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:337)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:316)
      at org.guvnor.structure.backend.repositories.RepositoryServiceImpl$Proxy$_$$_WeldClientProxy.createRepository(Unknown Source)
      at org.kie.workbench.common.migration.cli.TemporaryNiogitService.importProjects(TemporaryNiogitService.java:70)
      at org.kie.workbench.common.migration.cli.MigrationApp.lambda$importActualTargetIntoNiogit$7(MigrationApp.java:138)
      at org.kie.workbench.common.migration.cli.ContainerHandler.run(ContainerHandler.java:46)
      at org.kie.workbench.common.migration.cli.MigrationApp.importActualTargetIntoNiogit(MigrationApp.java:137)
      at org.kie.workbench.common.migration.cli.MigrationApp.setupTmpNiogitAndRunTasks(MigrationApp.java:72)
      at org.kie.workbench.common.migration.cli.MigrationApp.start(MigrationApp.java:59)
      at org.kie.workbench.common.migration.Main.main(Main.java:13)}}
        

      Attachments

        Activity

          People

            abkuma abhishek kumar
            rhn-support-roribeiro Rodrigo Ribeiro (Inactive)
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: