-
Bug
-
Resolution: Done
-
Major
-
7.8.0.GA
-
RHPAM 7.8.1
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)}}