Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-944

Error upgrading from RHDM 7.2.1 to 7.3.0 using migration tool rhdm-7.3.0-update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.4.0.GA
    • 7.3.0.GA, 7.4.0.GA
    • Migration Tool
    • None
    • CR1
    • CR2
    • Workaround Exists
    • Hide

      Ensure that " <system-properties>" tag is present in all configuration files (standalone-* or domain.xml)

      Show
      Ensure that " <system-properties>" tag is present in all configuration files (standalone-* or domain.xml)
    • Hide

      1) Install RHDM 7.2.1 on EAP.
      2) Remove " <system-properties>" tag from anyone standalone-*.xml.
      3) Download rhdm-7.3.0-update tool.
      4) Run "apply-update" command for decision central

      ~~~
      ./apply-updates.sh <jboss-home>/standalone/deployments/decision-central.war rhdm-decision-central-eap7-deployable
      ~~~

      Show
      1) Install RHDM 7.2.1 on EAP. 2) Remove " <system-properties>" tag from anyone standalone-*.xml. 3) Download rhdm-7.3.0-update tool. 4) Run "apply-update" command for decision central ~~~ ./apply-updates.sh <jboss-home>/standalone/deployments/decision-central.war rhdm-decision-central-eap7-deployable ~~~

    Description

      While trying to update RHDM from RHDM 7.2.1 to 7.3.0 using migration tool rhdm-7.3.0-update (./apply-updates.sh), if any of the standalone-*.xml doesn't contain " <system-properties>" tag then it's throwing null pointer exception.

      ~~~
      ./apply-updates.sh <jboss-home>/standalone/deployments/decision-central.war rhdm-decision-central-eap7-deployable
      ~~~

      Exception Thrown
      ---------------------
      ~~~
      20:15:06.699 [main] ERROR - Unexpected error occurred. Please contact Red Hat Support if you think this is a bug in the updating tool itself.
      java.lang.NullPointerException: null
      at org.jboss.brmsbpmsuite.patching.systemproperty.SystemPropertyLoader.load(SystemPropertyLoader.java:14)
      at org.jboss.brmsbpmsuite.patching.systemproperty.SystemPropertyPatcher.<init>(SystemPropertyPatcher.java:21)
      at org.jboss.brmsbpmsuite.patching.client.ConfigurationPatcher.applyPatch(ConfigurationPatcher.java:71)
      at org.jboss.brmsbpmsuite.patching.client.ConfigurationPatcher.apply(ConfigurationPatcher.java:43)
      at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.runConfigPatcher(ClientPatcherRunner.java:120)
      at org.jboss.brmsbpmsuite.patching.client.ClientPatcherRunner.run(ClientPatcherRunner.java:32)
      at org.jboss.brmsbpmsuite.patching.client.ClientPatcherApp.commonMain(ClientPatcherApp.java:52)
      at org.jboss.brmsbpmsuite.patching.client.BRMSClientPatcherApp.main(BRMSClientPatcherApp.java:6)
      ~~~

      Attachments

        Activity

          People

            almorale Alberto Morales PĂ©rez (Inactive)
            rhn-support-sudnair Sudhish Nair
            Martin Cimbalek Martin Cimbalek
            Martin Cimbalek Martin Cimbalek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: