Details

      Description

      Steps to reproduce:

      1. Have a DXP SP1 or SP2 deployed on Websphere
        Alternatively: have a DXP anything deployed on DXP, then just replace the contents of osgi folder with SP1 or SP2 variant
      2. Install: de-13
      3. Delete temp folders
      4. Run the upgrade process.

      Result:

      java.lang.RuntimeException: java.lang.NullPointerException
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:257)
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:202)
      	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:97)
      Caused by: 11:49:14,147 INFO  [Start Level: Equinox Container: 1016e615-e433-0017-1c3f-e1940536f189][BundleStartStopLogger:35] STARTED com.liferay.osgi.util_3.0.8 [4]
      java.lang.NullPointerException
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._isFragmentBundle(ModuleFrameworkImpl.java:972)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._setUpInitialBundles(ModuleFrameworkImpl.java:1346)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:413)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:231)
      	... 2 more

      Full upgrade log in attachment

      Additional information
      Concurrent logging happening in the above example..
      Could not reproduce on tomcat
      Workaround: Replace the osgi folder with the "SP0" version, patch again (install -force), run the upgrade
      Could not test on de-14, as upgrade fails earlier without the fix for LPS-72038. Couldn't create hotfix, as it's not added for de-14 baseline
      Did not test on ee-7.0.x - given how LPS-72038 is not on ee-7.0.x yet, there's a high chance the result would be the same as with de-14

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raven.song Raven Song
                Reporter:
                norbert.kocsis Norbert Kocsis
                Participants of an Issue:
                Recent user:
                Raven Song
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 49 weeks, 6 days ago