Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.8.1, 5.8.10
Description
Steps to Reproduce:
- Install a fresh Confluence 5.8.10.
- Create a Page.
- Insert Activity Stream.
- Save the page.
Alternative steps using the Recommended Updates email
- Install a fresh Confluence 5.8.10
- Install a mail server
- Create a user
- Create a space and a child page
- Log in as the user, and on the child page leave a comment, watch it, and like it
- Add a task list to the page with tasks for that user (include user mentions)
- Change the Recommended Updates email to send daily
- Save the page
- View the email when it arrives
Following appears in the log:
2015-09-03 11:36:48,456 ERROR [StreamsCompletionService::thread-1] [content.render.xhtml.DefaultRenderer] render Error rendering content for view: RuntimeException occurred while performing an XHTML storage transformation (In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null) -- url: /plugins/servlet/streams | referer: http://localhost:8090/plugins/servlet/gadgets/ifr?container=atlassian&mid=40802779136&country=GB&lang=en&view=default&view-params=%7B%22writable%22%3A%22false%22%7D&st=atlassian%3ABqcXXs5GOs%2FB3gaDuzWQF%2B5leXXRTha2nfzhHmTxoEPKJvR9Lcl3pP6fVryJiz6%2Bsy8zhNDIuHgYXuC8gHj6PRdN8GovE9F8Qna92ArbmC0X2x1aNMuOE6X86AKjICBiffv02N6PHueabg6w8Bf%2Bscu9CLYfjd0Nb0qDnlsbwLo%2FU7kepntjWoEUnYewPQAreizmbZp%2BKlaagoSPDTul8VwGRxbMPjPAs%2FxkwzyyiqTnjXPggbjKmqyFhMaoZ5pNqzGqKuWbBq%2Ba9hhukZUmlDQSwDGR2CgfEgkGVFkxzVZZv2VW34ijQ9QRXcKiMW6E7DPsPsGRI5PDb4pGatOoqP65xkRTrnzqBoOAnuVmQ84eniTT&up_isConfigured=true&up_isReallyConfigured=false&up_title=Activity+Stream&up_titleRequired=true&up_numofentries=10&up_refresh=false&up_maxProviderLabelCharacters=50&up_rules=&up_renderingContext=&up_keys=&up_itemKeys=&up_username=&url=http%3A%2F%2Flocalhost%3A8090%2Frest%2Fgadgets%2F1.0%2Fg%2Fcom.atlassian.streams.confluence%3Aactivitystream-gadget%2Fgadgets%2Fconf-activitystream-gadget.xml&libs=auth-refresh | userName: admin com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while performing an XHTML storage transformation (In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null) at com.atlassian.confluence.content.render.xhtml.storage.StorageXhtmlTransformer.transform(StorageXhtmlTransformer.java:65) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:38) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:38) at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:43) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:114) at com.atlassian.confluence.content.render.xhtml.DeviceTypeAwareRenderer.render(DeviceTypeAwareRenderer.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:134) at com.sun.proxy.$Proxy277.render(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy1139.render(Unknown Source) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.content(ContentEntityRendererFactory.java:228) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer.access$400(ContentEntityRendererFactory.java:87) at com.atlassian.streams.confluence.renderer.ContentEntityRendererFactory$ContentEntityRenderer$3.get(ContentEntityRendererFactory.java:200) .................. at com.atlassian.streams.internal.LocalActivityProvider$1.call(LocalActivityProvider.java:121) at com.atlassian.streams.internal.LocalActivityProvider$1.call(LocalActivityProvider.java:117) at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:115) at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:110) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.User.userLinkUrl: When evaluating "contextPath()": Error while computing function "contextPath()": null at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:118) at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52) at sun.reflect.GeneratedMethodAccessor727.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) .............
Following appears in Activity Stream:
Following appears in Recommended Updates email:
Attachments
Issue Links
- is duplicated by
-
CONFCLOUD-53946 Link to tasks page in Recommended in Confluence email is not working.
- Closed
- relates to
-
CLOUD-7883 Jira / Confluence error
- Closed
-
CONFSERVER-35326 Task Report Macro fails to render when Exporting a Space to PDF
- Closed
-
CONFSERVER-36925 Content Report Table macro not rendered in space PDF export
- Closed
-
CONFSERVER-37112 'Error: RuntimeException' in a Space Export when a Page includes a Contributors macro
- Closed
-
CONFSERVER-38649 Error in Rendered Activity Feed on Confluence Page
- Gathering Impact
- included in
-
CPU-64 Confluence 5.9.1-OD-2015.47.1-0002