Bug 794437 (JBEPP-1478) - NullPointerException upgrading EPP from 5.1 to 5.2
Summary: NullPointerException upgrading EPP from 5.1 to 5.2
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-1478
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.1.GA
Assignee: Martin Weiler
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 13:09 UTC by Martin Weiler
Modified: 2012-03-27 03:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-13 15:28:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-1478 0 Major Closed NullPointerException upgrading EPP from 5.1 to 5.2 2012-07-26 11:27:34 UTC

Description Martin Weiler 2012-01-12 13:09:53 UTC
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}

Comment 1 Martin Weiler 2012-01-12 13:09:54 UTC
Link: Added: This issue Cloned from GTNPORTAL-2325


Comment 2 Martin Weiler 2012-01-12 13:14:29 UTC
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


Comment 3 Martin Weiler 2012-01-12 13:15:51 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Not Yet Documented
Help Desk Ticket Reference: Added: https://na7.salesforce.com/500A0000008zgnJ


Comment 4 Jared MORGAN 2012-03-27 03:57:49 UTC
    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.


Note You need to log in before you can comment on or make changes to this bug.