com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Atlassian JIRA | Henrique Lechner [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Step-by-Step to reproduce: - Activate *Confluence Questions* on Confluence OnDemand - (User1) Access *Confluence Questions* ( *INSTANCE_URL*/wiki/questions ) - (User1) Click on *Watch All* button - (User2) Create a new question By following this step-by-step you’ll see that the User1 will not receive any notification about new questions (or also updated questions) The respective logs: {code} @400000005339d4df2cdf05bc 2014-03-31 20:49:25,750 ERROR [AtlassianEvent::CustomizableThreadFactory-1] [plugins.questions.notification.QuestionsNotificationsSender] sendNotification Error sending notification @400000005339d4df2cdf0d8c com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d096564 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d096564 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d09694c at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d09711c at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d097504 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d0978ec at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d0980bc at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d0984a4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09888c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d09905c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d099444 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09982c at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d099ffc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d099ffc at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d09a3e4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d09af9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09b384 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d09b76c at $Proxy1238.execute(Unknown Source) @400000005339d4df2d09b76c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEventInTransaction(QuestionNotificationsListener.java:90) @400000005339d4df2d09bf3c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @400000005339d4df2d09c324 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @400000005339d4df2d09c70c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d09c70c at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09cedc at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) @400000005339d4df2d09d2c4 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) @400000005339d4df2d09de7c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @400000005339d4df2d09e264 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @400000005339d4df2d09e64c at java.lang.Thread.run(Thread.java:662) {code}

    Atlassian JIRA | 3 years ago | Henrique Lechner [Atlassian]
    com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  2. 0

    Step-by-Step to reproduce: - Activate *Confluence Questions* on Confluence OnDemand - (User1) Access *Confluence Questions* ( *INSTANCE_URL*/wiki/questions ) - (User1) Click on *Watch All* button - (User2) Create a new question By following this step-by-step you’ll see that the User1 will not receive any notification about new questions (or also updated questions) The respective logs: {code} @400000005339d4df2cdf05bc 2014-03-31 20:49:25,750 ERROR [AtlassianEvent::CustomizableThreadFactory-1] [plugins.questions.notification.QuestionsNotificationsSender] sendNotification Error sending notification @400000005339d4df2cdf0d8c com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d096564 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d096564 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d09694c at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d09711c at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d097504 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d0978ec at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d0980bc at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d0984a4 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09888c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d09905c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d099444 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09982c at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d099ffc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d099ffc at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d09a3e4 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d09af9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d09b384 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d09b76c at $Proxy1238.execute(Unknown Source) @400000005339d4df2d09b76c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEventInTransaction(QuestionNotificationsListener.java:90) @400000005339d4df2d09bf3c at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) @400000005339d4df2d09c324 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) @400000005339d4df2d09c70c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d09c70c at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09cedc at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) @400000005339d4df2d09d2c4 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) @400000005339d4df2d09de7c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @400000005339d4df2d09e264 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @400000005339d4df2d09e64c at java.lang.Thread.run(Thread.java:662) {code}

    Atlassian JIRA | 3 years ago | Henrique Lechner [Atlassian]
    com.google.template.soy.tofu.SoyTofuException: In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Root Cause Analysis

    1. com.google.template.soy.tofu.SoyTofuException

      In template Confluence.Templates.Mail.Notifications.questionAdd: When evaluating "contextPath()": Error while computing function "contextPath()": null @400000005339d4df2cdf155c at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:341) @400000005339d4df2d071b74 at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:300) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:56) @400000005339d4df2d071f5c at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.render(BaseTofu.java:427) @400000005339d4df2d072344 at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:117) @400000005339d4df2d0732e4 at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:52) @400000005339d4df2d0736cc at sun.reflect.GeneratedMethodAccessor955.invoke(Unknown Source) @400000005339d4df2d073ab4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d07a814 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d07abfc at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @400000005339d4df2d07abfc at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) @400000005339d4df2d07afe4 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) @400000005339d4df2d07bb9c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07bf84 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07c754 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07cb3c at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) @400000005339d4df2d07cf24 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) @400000005339d4df2d07dadc at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07dec4 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) @400000005339d4df2d07e2ac at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d07e694 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) @400000005339d4df2d07ea7c at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) @400000005339d4df2d07ee64 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) @400000005339d4df2d08118c at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) @400000005339d4df2d081574 at $Proxy913.render(Unknown Source) @400000005339d4df2d081574 at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38) @400000005339d4df2d082514 at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44) @400000005339d4df2d0828fc at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25) @400000005339d4df2d082ce4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:316) @400000005339d4df2d0834b4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$301(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d08389c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:391) @400000005339d4df2d083c84 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$3.call(PreRenderedMailNotificationQueueItem.java:387) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d084454 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08483c at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d0853f4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:386) @400000005339d4df2d085bc4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$100(PreRenderedMailNotificationQueueItem.java:53) @400000005339d4df2d085fac at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:300) @400000005339d4df2d08677c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$1.call(PreRenderedMailNotificationQueueItem.java:296) @400000005339d4df2d086b64 at com.atlassian.confluence.mail.embed.ThreadLocalMimeBodyPartRecorder.record(ThreadLocalMimeBodyPartRecorder.java:61) @400000005339d4df2d086f4c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.recordDataSources(PreRenderedMailNotificationQueueItem.java:322) @400000005339d4df2d08771c at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:295) @400000005339d4df2d0882d4 at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:309) @400000005339d4df2d0886bc at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:229) @400000005339d4df2d088aa4 at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:552) @400000005339d4df2d089274 at com.atlassian.confluence.plugins.questions.notification.PreRenderedMailNotificationTaskFactory.createNotificationTask(PreRenderedMailNotificationTaskFactory.java:48) @400000005339d4df2d08965c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:224) @400000005339d4df2d089e2c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender$1.call(QuestionsNotificationsSender.java:193) @400000005339d4df2d08a214 at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134) @400000005339d4df2d08a5fc at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113) @400000005339d4df2d08c154 at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89) @400000005339d4df2d08c53c at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:192) @400000005339d4df2d08c924 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotification(QuestionsNotificationsSender.java:183) @400000005339d4df2d08d0f4 at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:175) @400000005339d4df2d08d4dc at com.atlassian.confluence.plugins.questions.notification.QuestionsNotificationsSender.sendNotifications(QuestionsNotificationsSender.java:95) @400000005339d4df2d08dcac at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.sendQuestionCreatedNotification(QuestionNotificationsListener.java:268) @400000005339d4df2d08e094 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$600(QuestionNotificationsListener.java:53) @400000005339d4df2d08f034 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:225) @400000005339d4df2d08f41c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$3.apply(QuestionNotificationsListener.java:207) @400000005339d4df2d08f804 at com.atlassian.fugue.Option$Some.foreach(Option.java:393) @400000005339d4df2d08fbec at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleQuestionsEvent(QuestionNotificationsListener.java:206) @400000005339d4df2d08ffd4 at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.handleEvent(QuestionNotificationsListener.java:118) @400000005339d4df2d0903bc at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener.access$000(QuestionNotificationsListener.java:53) @400000005339d4df2d090b8c at com.atlassian.confluence.plugins.questions.notification.QuestionNotificationsListener$1.doInTransaction(QuestionNotificationsListener.java:95) @400000005339d4df2d090f74 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @400000005339d4df2d091b2c at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88) @400000005339d4df2d091f14 at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) @400000005339d4df2d0922fc at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82) @400000005339d4df2d092acc at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d092acc at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d092eb4 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d09329c at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) @400000005339d4df2d093a6c at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d093a6c at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source) @400000005339d4df2d093e54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @400000005339d4df2d093e54 at java.lang.reflect.Method.invoke(Method.java:597) @400000005339d4df2d094a0c at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @400000005339d4df2d094df4 at $Proxy219.doInTransaction(Unknown Source) @400000005339d4df2d094df4 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @400000005339d4df2d0951dc at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) @400000005339d4df2d09617c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java:597)
      1 frame
    3. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      1 frame