Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4625

java.lang.NullPointerException in HippoContentBean.<init>(HippoContentBean.java:57)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.3.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Pulsar
    • Sprint:
      Platform 211 Eng OKRs

      Description

      Steps to reproduce

      1. Build and start the demo project based on the 13.2.0 release
      2. Verify the site works
      3. Update the parent to release 13.3.0-SNAPSHOT
      4. Rebuild and restart the project

      Expected: Site still works

      Actual: Nullpointer exceptions and FreeMarker tempaltes fail to load

       

      Caused by: java.lang.NullPointerException
      at org.hippoecm.hst.content.beans.builder.HippoContentBean.<init>(HippoContentBean.java:57) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at org.hippoecm.hst.content.beans.dynamic.DynamicBeanDefinitionService.generateBeanDefinition(DynamicBeanDefinitionService.java:183) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at org.hippoecm.hst.content.beans.dynamic.DynamicBeanDefinitionService.createDocumentBeanDef(DynamicBeanDefinitionService.java:127) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at org.hippoecm.hst.content.beans.dynamic.DynamicBeanDefinitionService.createDocumentBeanDef(DynamicBeanDefinitionService.java:119) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at org.hippoecm.hst.content.beans.manager.DynamicObjectConverterImpl.lambda$new$1(DynamicObjectConverterImpl.java:60) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_201]
      ...
      at org.hippoecm.hst.content.beans.manager.DynamicObjectConverterImpl.<init>(DynamicObjectConverterImpl.java:60) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      at org.hippoecm.hst.content.beans.manager.VersionedObjectConverterProxy.lambda$getOrCreateObjectConverter$0(VersionedObjectConverterProxy.java:73) ~[hst-content-beans-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abanck Arent-Jan Banck
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: