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]

Atlassian JIRA | Grzegorz Lewandowski [Atlassian] | 4 months ago
  1. 0

    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_

    Atlassian JIRA | 4 months ago | Grzegorz Lewandowski [Atlassian]
    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]
  2. 0

    [JRA-28288] Problem opening the Application Link configuration screen when we configure JIRA to use Polish language or Chinese language - Atlassian JIRA

    atlassian.com | 1 year ago
    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]
  3. 0

    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

    Atlassian JIRA | 6 years ago | Voon Kiat Gan [Atlassian]
    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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bamboo Behind A Proxy Server - Atlassian Answers

    atlassian.com | 8 months ago
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isInstallVisible' in class com.atlassian.upm.permission.UpmVisibilityImpl threw exception java.lang.NoClassDefFoundError: org/ietf/jgss/GSSException at manage-plugins.vm[line 40, column 32]
  6. 0

    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

    Atlassian JIRA | 5 years ago | Ahmad Faisal [Atlassian]
    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]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.atlassian.templaterenderer
      VelocityTemplateRendererImpl.render
      1. com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:109)[?:?]
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_102]
      4 frames
    4. Spring AOP
      AopUtils.invokeJoinpointUsingReflection
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      1 frame
    5. org.eclipse.gemini
      ServiceInvoker.invoke
      1. org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)[?:?]
      2. org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)[?:?]
      2 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      4 frames
    7. org.eclipse.gemini
      ServiceTCCLInterceptor.invoke
      1. org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)[?:?]
      2. org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)[?:?]
      2 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      1 frame
    9. org.eclipse.gemini
      LocalBundleContextAdvice.invoke
      1. org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)[?:?]
      1 frame
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.0.9.RELEASE.jar:4.0.9.RELEASE]
      5 frames
    11. com.sun.proxy
      $Proxy387.render
      1. com.sun.proxy.$Proxy387.render(Unknown Source)[?:?]
      1 frame
    12. com.atlassian.devrel
      ToolbarServlet.doGet
      1. com.atlassian.devrel.servlet.ToolbarServlet.doGet(ToolbarServlet.java:51)[?:?]
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[javax.servlet-api-3.0.1.jar:3.0.1]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api-3.0.1.jar:3.0.1]
      2 frames
    14. com.atlassian.plugin
      DelegatingPluginServlet.service
      1. com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api-3.0.1.jar:3.0.1]
      1 frame
    16. com.atlassian.fisheye
      FisheyeServletModuleContainerServlet.service
      1. com.atlassian.fisheye.plugin.servlet.FisheyeServletModuleContainerServlet.service(FisheyeServletModuleContainerServlet.java:103)[fisheye.jar:?]
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api-3.0.1.jar:3.0.1]
      1 frame
    18. Jetty
      ServletHandler$Chain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      2. org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1526)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      2 frames
    19. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      2 frames
    20. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)[?:?]
      1 frame
    21. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    22. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)[?:?]
      1 frame
    23. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    24. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)[?:?]
      1 frame
    25. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    26. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)[?:?]
      1 frame
    27. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    28. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)[?:?]
      1 frame
    29. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    30. com.atlassian.prettyurls
      PrettyUrlsSiteMeshFixupFilter.doFilter
      1. com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:32)[?:?]
      1 frame
    31. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      3. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58)[atlassian-plugins-servlet-4.4.0.jar:?]
      3 frames
    32. com.atlassian.prettyurls
      PrettyUrlsDispatcherFilter.doFilter
      1. com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:55)[?:?]
      1 frame
    33. com.atlassian.plugin
      IteratingFilterChain.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)[atlassian-plugins-servlet-4.4.0.jar:?]
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)[atlassian-plugins-servlet-4.4.0.jar:?]
      2 frames