Details

    • OS:
      Windows 8
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 8.0.x
    • Browsers:
      Chrome (latest)
    • Databases:
      MySQL 5.7
    • Device Type:
      Desktop

      Description

      We have followed two step process

      Step 1 (6.1->6.2): Successfully migrated database from 6.1 to 6.2

      Step 2 (6.2->7.0) : While trying to migrate db from liferay-portal-6.2 ce g2 to liferay-portal-7.0 ce ga5, getting an exception.

      All migration steps are executed following below link.

      https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/running-the-upgrade-process#configuring-the-core-upgrade.

      PFB, the exception stack FYR.

      Exception Stack:

      07:26:42,038 INFO [main][UpgradeProcess:99] Completed upgrade process com.liferay.portal.upgrade.UpgradeProcess_7_0_0 in 248216ms
      com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.NullPointerException
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:93)
      at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:175)
      at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:143)
      at com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:125)
      at com.liferay.portal.events.StartupHelper.upgradeProcess(StartupHelper.java:164)
      at com.liferay.portal.events.StartupHelperUtil.upgradeProcess(StartupHelperUtil.java:81)
      at com.liferay.portal.tools.DBUpgrader.upgrade(DBUpgrader.java:153)
      at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:99)
      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 com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)
      Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.lang.NullPointerException
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:93)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:117)
      at com.liferay.portal.upgrade.UpgradeProcess_7_0_0.doUpgrade(UpgradeProcess_7_0_0.java:72)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:90)
      ... 12 more
      Caused by: java.lang.NullPointerException
      at java.io.Reader.<init>(Reader.java:78)
      at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.getIndexesSQL(UpgradeProcess.java:463)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.alter(UpgradeProcess.java:409)
      at com.liferay.portal.upgrade.v7_0_0.UpgradeAddress.doUpgrade(UpgradeAddress.java:27)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:90)
      ... 15 more

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.X
                Master