Uploaded image for project: 'JBoss Enterprise Portal Platform'
  1. JBoss Enterprise Portal Platform
  2. JBEPP-1478

NullPointerException upgrading EPP from 5.1 to 5.2

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.0.GA
    • Fix Version/s: 5.2.1.GA
    • Component/s: Portal
    • Labels:
      None
    • Release Notes Text:
      Hide
      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.
      Show
      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.
    • Release Notes Docs Status:
      Not Yet Documented
    • NEEDINFO:
      Nobody

      Description

      Migrate data from EPP 5.1 to 5.2.0, get an exception at second startup

      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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mputz Martin Weiler
                  Reporter:
                  mputz Martin Weiler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: