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

Migration tool fails to port BRMS 6.4 .niogit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.10.1.GA
    • Migration Tool
    • None
    • False
    • False
    • Undefined
    • Hide

      Looks related with client side artifacts on migration tool.

      Removing errai-javax-enterprise from lib migration works correctly

      Show
      Looks related with client side artifacts on migration tool. Removing errai-javax-enterprise from lib migration works correctly
    • Hide

      Migrate simple .niogit from a BRMS 6.4 with an authoring project

      Show
      Migrate simple .niogit from a BRMS 6.4 with an authoring project

    Description

      MIgrating BRMS 6.4 .niogit folder some errors make the process to fail and not end correctly:

      Kie Workbench Migration Tool
      ============================
      
      1) PROJECT STRUCTURE MIGRATION (Moves old project structure to new modules structure)
      2) SYSTEM CONFIGURATION DIRECTORY STRUCTURE MIGRATION (Moves old system configuration directory structure to the new one)
      3) FORMS MIGRATION (Moves old jBPM Form Modeler forms into the new Forms format.)
      4) POMS MIGRATION (Migrates pom.xml files to format compatible with KIE Maven build.)
      5) SYSTEM TO SPACE CONFIGURATION REPOSITORY MIGRATION (Moves spaces and repositories metadata to each space configuration repository)
      6) ALL
      7) EXIT
      
      Choose one option [1-7]: 2
      Starting system configuration directory structure migration
      WARNING: Please ensure that you have made backups of the directory [/home/alberto/redhat/cases/02991170/niogitarchives/niogit_6.4/.niogit] before proceeding.
      Do you wish to continue? [yes/no]: yes
      15:46:01,783 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
      15:46:01,783 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
      15:46:01,783 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/home/alberto/redhat/products/zipped/rhpam-7.11.0-add-ons/rhpam-7.11.0-migration-tool/lib/kie-wb-common-cli-api-7.52.0.Final-redhat-00007.jar!/logback.xml]
      15:46:01,798 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@17c386de - URL [jar:file:/home/alberto/redhat/products/zipped/rhpam-7.11.0-add-ons/rhpam-7.11.0-migration-tool/lib/kie-wb-common-cli-api-7.52.0.Final-redhat-00007.jar!/logback.xml] is not of type file
      15:46:01,882 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
      15:46:01,886 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [consoleAppender]
      15:46:01,892 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      15:46:01,921 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
      15:46:01,923 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [fileAppender]
      15:46:01,924 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      15:46:01,925 |-INFO in ch.qos.logback.core.FileAppender[fileAppender] - File property is set to [/home/alberto/redhat/cases/02991170/migration_tool.log]
      15:46:01,926 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
      15:46:01,926 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [fileAppender] to Logger[ROOT]
      15:46:01,926 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
      15:46:01,927 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@670002 - Registering current configuration as safe fallback point
      Error during migration:
      org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
      Exception 0 :
      java.lang.NullPointerException
      at org.jboss.weld.metadata.TypeStore.add(TypeStore.java:50)
      at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.addScope(BeforeBeanDiscoveryImpl.java:90)
      at org.uberfire.backend.server.cdi.workspace.WorkspaceScopedExtension.beforeBeanDiscovery(WorkspaceScopedExtension.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
      at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
      at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168)
      at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
      at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
      at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
      at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
      at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
      at org.jboss.weld.util.Observers.notify(Observers.java:166)
      at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
      at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
      at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
      at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
      at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
      at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
      at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:54)
      at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:407)
      at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:79)
      at org.jboss.weld.environment.se.Weld.initialize(Weld.java:802)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.lambda$migrate$0(SystemConfigurationMigrationTool.java:77)
      at org.kie.workbench.common.migration.cli.ContainerHandler.<init>(ContainerHandler.java:32)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.migrate(SystemConfigurationMigrationTool.java:77)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.run(SystemConfigurationMigrationTool.java:72)
      at org.kie.workbench.common.migration.cli.MigrationApp.execute(MigrationApp.java:212)
      at org.kie.workbench.common.migration.cli.MigrationApp.lambda$printWizard$9(MigrationApp.java:190)
      at org.kie.workbench.common.migration.cli.MigrationApp.printWizard(MigrationApp.java:207)
      at org.kie.workbench.common.migration.cli.MigrationApp.runTasks(MigrationApp.java:169)
      at org.kie.workbench.common.migration.cli.MigrationApp.start(MigrationApp.java:57)
      at org.kie.workbench.common.migration.Main.main(Main.java:13)
      
      at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:46)
      at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:54)
      at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:407)
      at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:79)
      at org.jboss.weld.environment.se.Weld.initialize(Weld.java:802)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.lambda$migrate$0(SystemConfigurationMigrationTool.java:77)
      at org.kie.workbench.common.migration.cli.ContainerHandler.<init>(ContainerHandler.java:32)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.migrate(SystemConfigurationMigrationTool.java:77)
      at org.kie.workbench.common.system.configuration.SystemConfigurationMigrationTool.run(SystemConfigurationMigrationTool.java:72)
      at org.kie.workbench.common.migration.cli.MigrationApp.execute(MigrationApp.java:212)
      at org.kie.workbench.common.migration.cli.MigrationApp.lambda$printWizard$9(MigrationApp.java:190)
      at org.kie.workbench.common.migration.cli.MigrationApp.printWizard(MigrationApp.java:207)
      at org.kie.workbench.common.migration.cli.MigrationApp.runTasks(MigrationApp.java:169)
      at org.kie.workbench.common.migration.cli.MigrationApp.start(MigrationApp.java:57)
      at org.kie.workbench.common.migration.Main.main(Main.java:13)
      Suppressed: java.lang.NullPointerException
      at org.jboss.weld.metadata.TypeStore.add(TypeStore.java:50)
      at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.addScope(BeforeBeanDiscoveryImpl.java:90)
      at org.uberfire.backend.server.cdi.workspace.WorkspaceScopedExtension.beforeBeanDiscovery(WorkspaceScopedExtension.java:40)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95)
      at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:85)
      at org.jboss.weld.injection.MethodInvocationStrategy$SimpleMethodInvocationStrategy.invoke(MethodInvocationStrategy.java:168)
      at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:330)
      at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:123)
      at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:308)
      at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:286)
      at javax.enterprise.inject.spi.ObserverMethod.notify(ObserverMethod.java:124)
      at org.jboss.weld.util.Observers.notify(Observers.java:166)
      at org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:285)
      at org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:273)
      at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:177)
      at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:171)
      at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)
      at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
      ... 14 more
      

      Attachments

        Activity

          People

            rh-ee-pefernan Pere Fernandez Perez
            afanjula@redhat.com Alberto Fanjul Alonso
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: