com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12]

Atlassian JIRA | Clarissa Gauterio | 6 years ago
  1. 0

    When removing the JIRA Subversion Plugin, the service Subversion Revision Indexing Service is not removed. If you try using Atlassian Support Tools after removing the plugin, the following stacktrace is thrown on the screen: {code} com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at com.atlassian.jira.service.UnloadableJiraServiceContainer.getLastRun(UnloadableJiraServiceContainer.java:70) at com.atlassian.support.tools.salext.JiraApplicationInfo.loadProperties(JiraApplicationInfo.java:228) at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.getApplicationProperties(AbstractSupportApplicationInfo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... {code} Atlassian Support Tools will work only if you remove the service.

    Atlassian JIRA | 6 years ago | Clarissa Gauterio [Atlassian]
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12]
  2. 0

    When removing the JIRA Subversion Plugin, the service Subversion Revision Indexing Service is not removed. If you try using Atlassian Support Tools after removing the plugin, the following stacktrace is thrown on the screen: {code} com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... Caused by: java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at com.atlassian.jira.service.UnloadableJiraServiceContainer.getLastRun(UnloadableJiraServiceContainer.java:70) at com.atlassian.support.tools.salext.JiraApplicationInfo.loadProperties(JiraApplicationInfo.java:228) at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.getApplicationProperties(AbstractSupportApplicationInfo.java:213) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ... {code} Atlassian Support Tools will work only if you remove the service.

    Atlassian JIRA | 6 years ago | Clarissa Gauterio
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12]
  3. 0

    An error occurs when trying to access Plugin Administration Page - Atlassian Documentation

    atlassian.com | 5 months ago
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isLegacyLicensingCompatibilitySpiUpm20Aware' in class com.atlassian.upm.UpmVersionTracker threw exception java.lang.NullPointerException at plugin-manager.vm[line 805, column 60]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce: # Install the Atlassian Support Tools via _Confluence Admin > Plugins > Install tab_ (the 2.6.1 version will be the one installed since it's the latest). # In the left corner side of the screen, click in the _Atlassian Support Tools_ link. # You will get the following error in the screen: {code}com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'loadProperties' in class com.atlassian.support.tools.salext.ConfluenceApplicationInfo threw exception java.lang.NoClassDefFoundError: com/cenqua/fisheye/util/StringUtil at /templates/system-info.vm[line 5, column 7] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:99) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'loadProperties' in class com.atlassian.support.tools.salext.ConfluenceApplicationInfo threw exception java.lang.NoClassDefFoundError: com/cenqua/fisheye/util/StringUtil at /templates/system-info.vm[line 5, column 7] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351) caused by: java.lang.NoClassDefFoundError: com/cenqua/fisheye/util/StringUtil at com.atlassian.support.tools.salext.AbstractSupportApplicationInfo.getJVMInputArguments(AbstractSupportApplicationInfo.java:173) caused by: java.lang.ClassNotFoundException: com.cenqua.fisheye.util.StringUtil at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772){code} *Workaround*: # Download the 2.3.4 version directly from https://plugins.atlassian.com. # Upload the jar file manually via _Confluence Admin > Plugins > Install tab > Upload Plugin link_. # Access the _Atlassian Support Tools_ link in the left corner side of the screen and see that it works.

    Atlassian JIRA | 5 years ago | Alyson Reis [Atlassian]
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'loadProperties' in class com.atlassian.support.tools.salext.ConfluenceApplicationInfo threw exception java.lang.NoClassDefFoundError: com/cenqua/fisheye/util/StringUtil at /templates/system-info.vm[line 5, column 7]
  6. 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]

    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 'getApplicationProperties' in class $Proxy592 threw exception java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer at /templates/system-info.vm[line 1, column 12]

      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:99)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame