com.atlassian.templaterenderer.RenderingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • JIRA allows us to configure the language settings according to our needs. However, a problem is identified when we configure JIRA to use Polish or Chinese language, whereby opening the Application Link configuration screen will throw the following error: {noformat} 2012-05-17 16:15:39,750 http-8082-2 ERROR admin 975x640x1 f3sfnd 0:0:0:0:0:0:0:1 /plugins/servlet/applinks/listApplicationLinks [org.apache.velocity] Exception in macro #helpLink at /common/_help_link.vm[line 7, column 51] 2012-05-17 16:15:39,750 http-8082-2 ERROR admin 975x640x1 f3sfnd 0:0:0:0:0:0:0:1 /plugins/servlet/applinks/listApplicationLinks [org.apache.velocity] Exception in macro #help at com/atlassian/applinks/ui/admin/list_application_links.vm[line 78, column 88] 2012-05-17 16:15:39,759 http-8082-2 ERROR [500ErrorPage.jsp] Exception caught in 500 page org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) ..... Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) {noformat} Steps to reproduced are: - Deploy JIRA 5 or JIRA 6 - Install [JIRA Polish Language Pack|https://plugins.atlassian.com/plugins/tac.jira.languages.pl_PL] or [JIRA Chinese Language Pack|https://marketplace.atlassian.com/plugins/tac.jira.languages.zh_CN] - Change the language setting to Polish or Chinese via {{Administration > General Configuration}} - Try to access the Application Link configuration screen ({{Administration > Application Links}}) - The error will be reproduced
    via by Ahmad Faisal [Atlassian],
  • JIRA allows us to configure the language settings according to our needs. However, a problem is identified when we configure JIRA to use Polish or Chinese language, whereby opening the Application Link configuration screen will throw the following error: {noformat} 2012-05-17 16:15:39,750 http-8082-2 ERROR admin 975x640x1 f3sfnd 0:0:0:0:0:0:0:1 /plugins/servlet/applinks/listApplicationLinks [org.apache.velocity] Exception in macro #helpLink at /common/_help_link.vm[line 7, column 51] 2012-05-17 16:15:39,750 http-8082-2 ERROR admin 975x640x1 f3sfnd 0:0:0:0:0:0:0:1 /plugins/servlet/applinks/listApplicationLinks [org.apache.velocity] Exception in macro #help at com/atlassian/applinks/ui/admin/list_application_links.vm[line 78, column 88] 2012-05-17 16:15:39,759 http-8082-2 ERROR [500ErrorPage.jsp] Exception caught in 500 page org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) ..... Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getLink' in class com.atlassian.applinks.core.docs.DocumentationLinkerImpl threw exception java.lang.RuntimeException: Failed to concatenate http://confluence.atlassian.com/display/APPLINKS to form URI (Illegal character in path) at /common/_help_link.vm[line 11, column 87] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) {noformat} Steps to reproduced are: - Deploy JIRA 5 or JIRA 6 - Install [JIRA Polish Language Pack|https://plugins.atlassian.com/plugins/tac.jira.languages.pl_PL] or [JIRA Chinese Language Pack|https://marketplace.atlassian.com/plugins/tac.jira.languages.zh_CN] - Change the language setting to Polish or Chinese via {{Administration > General Configuration}} - Try to access the Application Link configuration screen ({{Administration > Application Links}}) - The error will be reproduced
    via by Ahmad Faisal,
  • If base url contain a white space in front or at the end of base url, error like below will be throw {noformat} Cause: com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.IllegalStateException: Invalid base url: http://192.168.56.101:8080 at com/atlassian/applinks/ui/admin/common_header.vm[line 9, column 59] Stack Trace: [hide] com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.IllegalStateException: Invalid base url: http://192.168.56.101:8080 at com/atlassian/applinks/ui/admin/common_header.vm[line 9, column 59] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) {noformat} This bug is related to JRA-16003 which stated fixed in 3.13.3. *Step to reproduce* # Add a white space to Base Url via _Administration>Global Settings>General Configuration>_ # Click at Application link via _Administration>System>Application Links_ # Stack trace above will be throw. | *Resolution* # Remove the white space
    via by Voon Kiat Gan [Atlassian],
  • Bamboo Behind A Proxy Server - Atlassian Answers
    via by Unknown author,
  • If base url contain a white space in front or at the end of base url, error like below will be throw {noformat} Cause: com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.IllegalStateException: Invalid base url: http://192.168.56.101:8080 at com/atlassian/applinks/ui/admin/common_header.vm[line 9, column 59] Stack Trace: [hide] com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.IllegalStateException: Invalid base url: http://192.168.56.101:8080 at com/atlassian/applinks/ui/admin/common_header.vm[line 9, column 59] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) {noformat} This bug is related to JRA-16003 which stated fixed in 3.13.3. *Step to reproduce* # Add a white space to Base Url via _Administration>Global Settings>General Configuration>_ # Click at Application link via _Administration>System>Application Links_ # Stack trace above will be throw. | *Resolution* # Remove the white space
    via by Voon Kiat Gan [Atlassian],
  • h2. HTR # Go to FeCru source code, bundled plugin (e.g. branch reviews) # start it with amps # go to UPM page and uninstall branch review plugin (make sure it's enabled) h2. Actual Result {{PluginDisabledEvent}} is fired after transaction from {{com.atlassian.upm.core.install.DefaultPluginInstallationService#uninstallInternal}} is committed. There are event listeners which cleans some config/data after receiving this event. This leads to two types of errors (but result depends on race condition of some sort) # ActiveObjects fail to clean up and actually nothing really bad happens, apart from that application throws exception in the logs when user tries to access UPM page (doesn't block execution) {noformat} 2016-08-10 09:29:55,198 ERROR [qtp261650860-135 ] com.atlassian.event.internal.AsynchronousAbleEventDispatcher AsynchronousAbleEventDispatcher$1$1-run - There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginDisabledEvent for com.atlassian.crucible.plugins.crucible-branch-review-plugin] from the invoker [SingleParameterMethodListenerInvoker{method=public void c om.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory.onPluginDisabledEvent(com.atlassian.plugin.event.events.PluginDisabledEvent), listener=com.atlassian.activeobjects.osgi.ActiveObjectsServiceFa ctory@23b750a7}] java.lang.RuntimeException: This operation must occur before the plugin 'com.atlassian.crucible.plugins.crucible-branch-review-plugin' is uninstalled at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:41) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38) [atlassian-event-3.1.1.jar:?] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299) [guava-18.0.jar:?] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:222) [atlassian-event-3.1.1.jar:?] at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:95) [atlassian-event-3.1.1.jar:?] at com.atlassian.fisheye.event.FisheyeEventPublisher$EventPublication.publish(FisheyeEventPublisher.java:63) [fisheye.jar:?] {noformat} # Some bundles are not cleaned out properly and application can't render any page !screenshot-1.png|thumbnail! {noformat} 2016-08-10 09:45:22,630 WARN [qtp261650860-199 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - /fecru/plugins/servlet/dev-toolbar com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableLabel' in class com.atlassian.plugin.web.model.DefaultWebLabel threw exception com.atlassian.plugin.IllegalPluginStateException: This operation must occur before the plugin 'com.atlassian.crucible.plugins.crucible-branch-review-plugin' is uninstalled at /templates/toolbar.vm[line 96, column 161] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:109) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_102] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) [?:?] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) [?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) [?:?] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) [?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) [?:?] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208) [spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE] at com.sun.proxy.$Proxy387.render(Unknown Source) [?:?] at com.atlassian.devrel.servlet.ToolbarServlet.doGet(ToolbarServlet.java:51) [?:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [javax.servlet-api-3.0.1.jar:3.0.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) [javax.servlet-api-3.0.1.jar:3.0.1] at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) [javax.servlet-api-3.0.1.jar:3.0.1] at com.atlassian.fisheye.plugin.servlet.FisheyeServletModuleContainerServlet.service(FisheyeServletModuleContainerServlet.java:103) [fisheye.jar:?] at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) [javax.servlet-api-3.0.1.jar:3.0.1] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312] at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1526) [jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:32) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:55) [?:?] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) [atlassian-plugins-servlet-4.4.0.jar:?] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-4.4.0.jar:?] ... Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDisplayableLabel' in class com.atlassian.plugin.web.model.DefaultWebLabel threw exception com.atlassian.plugin.IllegalPluginStateException: This operation must occur before the plugin 'com.atlassian.crucible.plugins.crucible-branch-review-plugin' is uninstalled at /templates/toolbar.vm[line 96, column 161] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:375) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:315) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.Template.merge(Template.java:328) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.Template.merge(Template.java:235) [velocity-1.6.1-atlassian-2.jar:?] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:100) [?:?] ... 160 more Caused by: com.atlassian.plugin.IllegalPluginStateException: This operation must occur before the plugin 'com.atlassian.crucible.plugins.crucible-branch-review-plugin' is uninstalled at com.atlassian.plugin.osgi.factory.OsgiPluginNotInstalledHelperBase.getClassLoader(OsgiPluginNotInstalledHelperBase.java:43) [atlassian-plugins-osgi-4.4.0.jar:?] at com.atlassian.plugin.osgi.factory.OsgiPlugin.getClassLoader(OsgiPlugin.java:233) [atlassian-plugins-osgi-4.4.0.jar:?] at com.atlassian.sal.fisheye.message.FishEyeI18nResolver.getBundle(FishEyeI18nResolver.java:148) [?:?] at com.atlassian.sal.fisheye.message.FishEyeI18nResolver.getRawText(FishEyeI18nResolver.java:59) [?:?] at com.atlassian.sal.fisheye.message.FishEyeI18nResolver.resolveText(FishEyeI18nResolver.java:45) [?:?] at com.atlassian.sal.fisheye.message.FishEyeI18nResolver.resolveText(FishEyeI18nResolver.java:40) [?:?] at com.atlassian.sal.core.message.AbstractI18nResolver.getText(AbstractI18nResolver.java:31) [?:?] at com.atlassian.fisheye.plugin.web.FisheyeWebFragmentHelper.getI18nValue(FisheyeWebFragmentHelper.java:81) [fisheye.jar:?] at com.atlassian.plugin.web.model.DefaultWebLabel.getDisplayableLabel(DefaultWebLabel.java:60) [atlassian-plugins-webfragment-4.0.0.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_102] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_102] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_102] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) [velocity-1.6.1-atlassian-2.jar:?] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) [velocity-1.6.1-atlassian-2.jar:?] at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30) [?:?] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) [velocity-1.6.1-atlassian-2.jar:?] ... 170 more {noformat} h2. Expected Result The plugin is deleted and there are none leftovers in the system from deleted plugin. Fisheye&Crucible works like a charm h1. Workaround *Disable plugin first* before uninstalling it. h2. Affected versions Affected version _4.1.1_ which uses UPM _2.20.5_
    via by Grzegorz Lewandowski [Atlassian],
  • h3. Summary JIRA throws NPE at _Outgoing Authentication_ page for *Generic Application* links h3. Steps to Reproduce # Go to *Administration* > *Applications* > *Application links* and configure new _Generic Application_ link # Click _Edit_ of newly created link and go to _Outgoing Authentication_ tab. h3. Expected Results Page renders properly. h3. Actual Results You get Error page: !JRA_62363_error.png|thumbnail! and error in the logs: {code:borderStyle=solid} 2016-08-29 16:46:24,073 http-nio-8081-exec-1 ERROR [o.a.c.c.C.[.[localhost].[/].[servlet-module-container-servlet]] Servlet.service() for servlet [servlet-module-container-servlet] in context with path [] threw exception com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getText' in class com.sun.proxy.$Proxy1475 threw exception java.lang.NullPointerException at com/atlassian/applinks/oauth/auth/outbound_non applinks.vm[line 52, column 44] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:109) at sun.reflect.GeneratedMethodAccessor442.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) .... at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getText' in class com.sun.proxy.$Proxy1475 threw exception java.lang.NullPointerException at com/atlassian/applinks/oauth/auth/outbound_nonapplinks.vm[line 52, column 44] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) ... Caused by: java.lang.NullPointerException at com.atlassian.jira.i18n.AbstractI18nResolver.getText(AbstractI18nResolver.java:24) at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ... {code} h3. Notes None h3.Workaround If you don't use outgoing link you can ignore the error.
    via by Andriy Yakovlev [Atlassian],
    • com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOrphanedTrustCertificates' in class com.atlassian.applinks.ui.velocity.ListApplicationLinksContext threw exception java.lang.NullPointerException at com/atlassian/applinks/ui/admin/list_application_links.vm[line 66, column 20] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)
    No Bugmate found.