Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66493

Upgrade tool does not work due to null pointer in server detector

    Details

    • Fix Priority:
      4

      Description

      Upgrade tool does not work due to null pointer in server detector.

      Steps to reproduce:
      1) Configure your portal bundle to use early version DB
      2) Go to portal's source folder/tools/db-upgrade
      3) Execute run.sh with appropriate classpath parameters

      Expected result: upgrade process works

      Actual result:
      java.lang.NullPointerException
      at com.liferay.portal.kernel.util.ServerDetector.init(ServerDetector.java:64)
      at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:96)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 22 weeks, 6 days ago

                  Packages

                  Version Package