Help Desk Ticket Reference: https://na7.salesforce.com/500A0000008zgnJ project_key: JBEPP Migrate data from EPP 5.1 to 5.2.0, get an exception at *second startup* {code} ERROR [Portal:UserPortalConfigService] (main) Could not import initial data java.lang.NullPointerException: Cannot convert null to primitive type org.chromattic.core.vt2.ValueDefinition@1203e95 at org.chromattic.core.PersistentEntityContextState.getPropertyValue(PersistentEntityContextState.java:186) at org.chromattic.core.ObjectContext.getPropertyValue(ObjectContext.java:126) at org.chromattic.core.mapper.property.JCRPropertySingleValuedPropertyMapper.get(JCRPropertySingleValuedPropertyMapper.java:65) at org.chromattic.core.mapper.property.JCRPropertySingleValuedPropertyMapper.get(JCRPropertySingleValuedPropertyMapper.java:61) at org.chromattic.core.mapper.PropertyMapper$1.invoke(PropertyMapper.java:73) at org.chromattic.core.ObjectContext.invoke(ObjectContext.java:65) {code}
Link: Added: This issue Cloned from GTNPORTAL-2325
Release Notes Docs Status: Added: Documented as Resolved Issue Release Notes Text: Added: After upgrading from EPP 5.1 to 5.2 with existing data and a custom portal, a java.lang.NullPointerException: Cannot convert null to primitive type org.chromattic.core.vt2.ValueDefinition error was thrown at the second server startup. This fix upgrades the NewPortalConfigListener to correctly handle such data. NEEDINFO: Added: Nobody
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Not Yet Documented Help Desk Ticket Reference: Added: https://na7.salesforce.com/500A0000008zgnJ
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: After upgrading from EPP 5.1 to 5.2 with existing data and a custom portal, a "Cannot convert null to primitive type org.chromattic.core.vt2.ValueDefinition" Null Pointer Exception was thrown at the second server startup. This fix upgrades the NewPortalConfigListener to correctly handle such data.