XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • 12.5.0
    • 13.0.0
    • None
    • Platform 188, Platform 189

    Description

      All 'mobile' sites in Hippo Go Green are broken. They don't render at all.

      Steps to reproduce:

      1. Start Hippo Go Green (community or enterprise edition)
      2. Go to http://localhost:8080/site/mobile

      Expected: the English mobile site is shown

      Actual: nothing is shown, and the following errors are logged:

      WARN  [[GoogleAnalyticsServiceImpl.java:126]] Property not found: /hippo:configuration/hippo:modules/googleAnalyticsConfiguration/hippo:moduleconfig/hippogoogleanalytics:accountIdWARN  [[GoogleAnalyticsServiceImpl.java:126]] Property not found: /hippo:configuration/hippo:modules/googleAnalyticsConfiguration/hippo:moduleconfig/hippogoogleanalytics:accountIdWARN  [[HstFreemarkerServlet.java:171]] Error while invoking the "accountId" JSP custom tag; see cause exception
      ----FTL stack trace ("~" means nesting-related): - Failed at: @ga.accountId  [in template "jcr:/hst:hst/hst:configurations/common/hst:templates/layout.webpage.ftl" at line 152, column 9]----. To see the stack trace, set 'org.hippoecm.hst.servlet.HstFreemarkerServlet' log-level to debug in log4j configuration or runtime via the logging servlet[[FeedFetcher.java:104]] Failed to parse feed 'http://www.onehippo.com/en/news-rss/': Invalid XML: Error on line 23: The element type "link" must be terminated by the matching end-tag "</link>".[[GoogleAnalyticsServiceImpl.java:126]] Property not found: /hippo:configuration/hippo:modules/googleAnalyticsConfiguration/hippo:moduleconfig/hippogoogleanalytics:accountIdAug 03, 2018 11:48:00 AM org.apache.catalina.core.ApplicationDispatcher invokeSEVERE: Servlet.service() for servlet [jsp] threw exceptionjavax.servlet.jsp.JspException: No Google Analytics Account ID. at org.onehippo.cms7.hst.ga.tags.GoogleAnalyticsAccountIdTag.doStartTag(GoogleAnalyticsAccountIdTag.java:70) at org.apache.jsp.WEB_002dINF.jsp.layout.mobile_jsp._jspx_meth_ga_005faccountId_005f0(mobile_jsp.java:733) at org.apache.jsp.WEB_002dINF.jsp.layout.mobile_jsp._jspService(mobile_jsp.java:488) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)03.08.2018 11:48:00 WARN  [[HstComponentInvokerImpl.java:288]] Component exception caught on window 'mobile-products-overview-popular' with component 'com.onehippo.gogreen.components.BaseComponent': org.apache.jasper.JasperException: An exception occurred processing JSP page [/WEB-INF/jsp/layout/mobile.jsp] at line [85]
      82:         <hst:include ref="footer"/>83:     </div>84:   <c:if test="${not composermode}">85:     <ga:accountId/>86:     <hst:link var="googleAnalytics" path="/resources/google-analytics.js"/>87:     <script src="${googleAnalytics}" type="text/javascript"></script>88:   </c:if>Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:588)03.08.2018 11:48:00 WARN  [[AbstractBaseOrderableValve.java:319]] Component exception(s) found in page request, 'Request{ method='GET', scheme='http', host='localhost:8080', requestURI='/site/mobile/products/popular', queryString='null'}'. at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)03.08.2018 11:48:00 WARN  [[DefaultPageErrorHandler.java:51]] Component exception on com.onehippo.gogreen.components.BaseComponent : org.apache.jasper.JasperException: An exception occurred processing JSP page [/WEB-INF/jsp/layout/mobile.jsp] at line [85] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:591) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:527) at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeDispatcher(HstComponentInvokerImpl.java:443) at org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeRender(HstComponentInvokerImpl.java:250) at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at org.hippoecm.hst.core.container.PersistableSessionAroundAdvice.invoke(PersistableSessionAroundAdvice.java:68)
      82:         <hst:include ref="footer"/>83:     </div>84:   <c:if test="${not composermode}">85:     <ga:accountId/>86:     <hst:link var="googleAnalytics" path="/resources/google-analytics.js"/>87:     <script src="${googleAnalytics}" type="text/javascript"></script>88:   </c:if>Stacktrace:  at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85) at org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:60) at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy131.invokeRender(Unknown Source) at org.hippoecm.hst.core.container.AggregationValve.processWindowsRender(AggregationValve.java:458) at org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:261) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.ComponentRenderingValve.invoke(ComponentRenderingValve.java:34) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.PageCachingValve.invoke(PageCachingValve.java:62) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.ESIPageInfoScanningValve.invoke(ESIPageInfoScanningValve.java:80) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.PageInfoRenderingValve.invoke(PageInfoRenderingValve.java:50) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:40) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:47) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at com.onehippo.cms7.targeting.hst.container.TargetingUpdateValve.invoke(TargetingUpdateValve.java:90) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.LocalizationValve.invoke(LocalizationValve.java:101) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:115) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve.invoke(JCRSessionStatefulConcurrencyValve.java:56) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.SubjectBasedSessionValve.invoke(SubjectBasedSessionValve.java:58) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:177) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.CmsSecurityValve.invoke(CmsSecurityValve.java:88) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.InitializationValve.invoke(InitializationValve.java:49) at org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:288) at org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:173) at org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:155) at org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:79) at org.hippoecm.hst.container.HstDelegateeFilterBean.processResolvedSiteMapItem(HstDelegateeFilterBean.java:671) at org.hippoecm.hst.container.HstDelegateeFilterBean.doFilter(HstDelegateeFilterBean.java:364) at org.hippoecm.hst.container.DelegatingFilter.doFilter(DelegatingFilter.java:84) at org.hippoecm.hst.container.HstFilter.doFilter(HstFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.hippoecm.hst.container.XSSUrlFilter.doFilter(XSSUrlFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) 

      Attachments

        Issue Links

          Activity

            People

              cgul Cuneyt Gul
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: