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

Nullpointer exception in unittest when updating repository version in 7.8.4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.26.07
    • 2.26.08
    • None
    • None

    Description

      Steps to reproduce
      1) Build 7.8.4 artifact [1]
      2) Update the following versions:

      <hippo.cms.version>2.24.06</hippo.cms.version>
      <hippo.hst.version>2.26.07</hippo.hst.version>
      <hippo.repository.version>2.24.09</hippo.repository.version>
      <hippo.addon-channel-manager.version>2.24.06</hippo.addon-channel-manager.version>

      3) build mvn clean install

      Error:

      T E S T S
      -------------------------------------------------------
      Running org.example.components.DetailTest
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.345 sec <<< FAILURE!
      doBeforeRender_MissingBean(org.example.components.DetailTest) Time elapsed: 0.305 sec <<< ERROR!
      java.lang.NullPointerException
      at org.hippoecm.hst.component.support.bean.BaseHstComponent.getObjectConverter(BaseHstComponent.java:544)
      at org.hippoecm.hst.component.support.bean.BaseHstComponent.initBeansObjects(BaseHstComponent.java:529)
      at org.hippoecm.hst.component.support.bean.BaseHstComponent.init(BaseHstComponent.java:139)
      at org.example.components.DetailTest.doBeforeRender_MissingBean(DetailTest.java:109)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      [1]
      mvn archetype:generate \
      -DarchetypeRepository=http://maven.onehippo.com/maven2 \
      -DarchetypeGroupId=org.onehippo.cms7 \
      -DarchetypeArtifactId=hippo-archetype-website \
      -DarchetypeVersion=1.07.04

      Attachments

        Activity

          People

            abanck Arent-Jan Banck (Inactive)
            abanck Arent-Jan Banck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: