Multiple Nullpointer warnings while upgrading in DDMFieldUpgradeProcess
Written By
Daniel Carrillo Broeder
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Many warnings appears while upgrading Liferay DXP 7.4 from previous versions, affecting the DDMFieldUpgradeProcess (v4_1_0):
INFO [main][UpgradeProcess:118] Upgrading com.liferay.dynamic.data.mapping.internal.upgrade.v4_1_0.DDMFieldUpgradeProcess
WARN [main][DDMFieldUpgradeProcess:533] null
java.lang.NullPointerException: null
at com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue.getType(DDMFormFieldValue.java:131) ~[?:?]
at com.liferay.dynamic.data.mapping.internal.upgrade.v4_1_0.DDMFieldUpgradeProcess._upgradeDDMFormValuesHierarchy(DDMFieldUpgradeProcess.java:529) ~[?:?]
at com.liferay.dynamic.data.mapping.internal.upgrade.v4_1_0.DDMFieldUpgradeProcess._upgradeDDMContent(DDMFieldUpgradeProcess.java:405) ~[?:?]
at com.liferay.dynamic.data.mapping.internal.upgrade.v4_1_0.DDMFieldUpgradeProcess.doUpgrade(DDMFieldUpgradeProcess.java:133) ~[?:?]
Environment
- Migrating to DXP 7.4 U40+ or Quarterly Releases.
Resolution
- Upgrade process should finish with a warning status with Liferay DXP 7.4 U41+ or higher.
- Create a support ticket requesting a hotfix for LPD-21792, LPD-22327 and LPS-198028 if not fixed in the target Quarterly Release.
- Under certain circumstances, this message could be ignored once reviewed by the Liferay support team.
Did this article resolve your issue ?