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

Process upgrade fails in RHPAM 7.7 if process instance has active timer and its migrated from BPMS 6.4 release

XMLWordPrintable

    • CR1
    • ?
    • Hide
      1. Deploy attached kjar(Project1_ProcessMigrationIssue-1.0.jar) in BPMS 6.4.11 server in business-central.war and start process instance.
      2.  Stop BPMS 6.4.11 server instance, upgrade backend DB(mysql) using attached script(DBUpgrade.sql) to make it compatible with RHPAM 7.7.1
      3. Start RHPAM 7.7.1 instance,  upload Project1_ProcessMigrationIssue-1.0.jar kjar into artifact repository and create container with ID(com.example:Project1_ProcessMigrationIssue:1.0).
      4. Upload new version of kjar(Project1_ProcessMigrationIssue-1.01.jar) which includes the modified process.
      5. Try to migrate process instances those started with BPMS 6.4 release, migration will fail with NPE. Complete stack trace attached.
      Show
      Deploy attached kjar(Project1_ProcessMigrationIssue-1.0.jar) in BPMS 6.4.11 server in business-central.war and start process instance.  Stop BPMS 6.4.11 server instance, upgrade backend DB(mysql) using attached script(DBUpgrade.sql) to make it compatible with RHPAM 7.7.1 Start RHPAM 7.7.1 instance,  upload Project1_ProcessMigrationIssue-1.0.jar kjar into artifact repository and create container with ID(com.example:Project1_ProcessMigrationIssue:1.0). Upload new version of kjar(Project1_ProcessMigrationIssue-1.01.jar) which includes the modified process. Try to migrate process instances those started with BPMS 6.4 release, migration will fail with NPE. Complete stack trace attached.
    • 2020 Week 31-33 (from Jul 27)

      Process upgrade fails in RHPAM 7.7 if process instance has active timer and its migrated from BPMS 6.4 release. Process migration fails with NPE:

       

      12:54:21,793 ERROR [org.jbpm.runtime.manager.impl.error.ExecutionErrorHandlerImpl] (default task-8) Unexpected error during processing : java.lang.NullPointerException
       at org.jbpm.runtime.manager.impl.migration.MigrationManager$1.execute(MigrationManager.java:605)
       at org.jbpm.runtime.manager.impl.migration.MigrationManager$1.execute(MigrationManager.java:575)
       at org.drools.core.fluent.impl.PseudoClockRunner.executeBatch(PseudoClockRunner.java:102)
       at org.drools.core.fluent.impl.PseudoClockRunner.executeBatches(PseudoClockRunner.java:69)
       at org.drools.core.fluent.impl.PseudoClockRunner.execute(PseudoClockRunner.java:61)
       at org.drools.core.fluent.impl.PseudoClockRunner.execute(PseudoClockRunner.java:39)
       at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
       at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:597)
       at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:563)
       at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
       at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.internalExecute(OptimisticLockRetryInterceptor.java:102)
       at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:83)
       at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:44)
       at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
       at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockIntercep
      

       

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rhn-support-abhumbe Abhijit Humbe
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: