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

UpgradeProcess fails at UpgradeImage because _valueMapperFactory is not initialized in ValueMapperFactoryUtil

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3
    • Fix Version/s: 6.0.0 Preview
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      Calls to ValueMapperFactoryUtil result in an NPE because _valueMapperFactory is null

      Caused by: java.lang.NullPointerException
      at com.liferay.portal.kernel.upgrade.util.ValueMapperFactoryUtil.getValueMapper(ValueMapperFactoryUtil.java:33)
      at com.liferay.portal.upgrade.util.PKUpgradeColumnImpl.<init>(PKUpgradeColumnImpl.java:52)
      at com.liferay.portal.upgrade.v4_3_0.UpgradeImage.doUpgrade(UpgradeImage.java:67)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:121)
      ... 38 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              edward.shin Edward Shin (Inactive)
              Reporter:
              edward.shin Edward Shin (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 years, 13 weeks, 4 days ago

                  Packages

                  Version Package
                  6.0.0 Preview