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

Nullpointer exception in org.hippoecm.hst.cmsrest.configuration.model.CmsRestMountAndVirtualHostAugmenter.CmsRestMount#toString

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.01
    • 2.24.02, 2.25.00-alpha
    • None
    • None

    Description

      clicking on edit template within channel manager throws NPE, ( parent=" + parent.getName() ), in my case parent is null

      SLF4J: Failed toString() invocation on an object of type [org.hippoecm.hst.cmsrest.configuration.model.CmsRestMountAndVirtualHostAugmenter$CmsRestMount]
      java.lang.NullPointerException
      at org.hippoecm.hst.cmsrest.configuration.model.CmsRestMountAndVirtualHostAugmenter$CmsRestMount.toString(CmsRestMountAndVirtualHostAugmenter.java:612)
      at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:304)
      at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:276)
      at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:230)
      at org.slf4j.helpers.MessageFormatter.format(MessageFormatter.java:124)
      at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:228)
      at org.hippoecm.hst.configuration.channel.ChannelManagerImpl.load(ChannelManagerImpl.java:270)
      at org.hippoecm.hst.configuration.model.HstManagerImpl.getVirtualHosts(HstManagerImpl.java:236)
      at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:263)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:49)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: