com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35]

Atlassian JIRA | Marlena Compton [Atlassian] | 7 years ago
  1. 0

    * Add a Confluence activity streams gadget to a page * Click on "Login and Approve" A system error is returned by the gadget service provider: {noformat} com.atlassian.oauth.serviceprovider.ConsumerInformationRenderException: Could not render consumer information at com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl.render(AuthorizationRendererImpl.java:63) caused by: com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:97) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) caused by: java.net.URISyntaxException: Illegal character in path at index 144: http://confluence.atlassian.com/rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml at java.net.URI$Parser.fail(URI.java:2809) {noformat}

    Atlassian JIRA | 7 years ago | Marlena Compton [Atlassian]
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35]
  2. 0

    * Add a Confluence activity streams gadget to a page * Click on "Login and Approve" A system error is returned by the gadget service provider: {noformat} com.atlassian.oauth.serviceprovider.ConsumerInformationRenderException: Could not render consumer information at com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl.render(AuthorizationRendererImpl.java:63) caused by: com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl.render(VelocityTemplateRendererImpl.java:97) caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) caused by: java.net.URISyntaxException: Illegal character in path at index 144: http://confluence.atlassian.com/rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml at java.net.URI$Parser.fail(URI.java:2809) {noformat}

    Atlassian JIRA | 7 years ago | Marlena Compton [Atlassian]
    com.atlassian.templaterenderer.RenderingException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35]
  3. 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]
  6. 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]

    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 'render' in class com.atlassian.oauth.serviceprovider.internal.servlet.authorize.AuthorizationRendererImpl$AuthorizationConsumerRenderer threw exception java.lang.IllegalArgumentException at authorize.vm[line 16, column 35]

      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:97)
      1 frame