org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17]

Atlassian JIRA | Daniel Watania | 2 years ago
  1. 0

    h4. Summary When the *Sidebar* dark feature is enabled in JIRA, user will not be able to open any JIRA Agile board h4. Steps to Reproduce There are a two way which the issue could be reproduced: * Retrieve a JIRA Cloud backup and restore it into the latest JIRA version * Enable JIRA Dark Feature: *# Access JIRA with this address http://YOUR.JIRA.COM/secure/admin/SiteDarkFeatures!default.jspa *# Enable this Dark Feature {{com.atlassian.jira.projects.ProjectCentricNavigation}} h4. Expected Results JIRA Agile board is loading without problem, and Sidebar is rendered properly !Sidebar.png|thumbnail! h4. Actual Results Unable to access JIRA Agile board, and hit into this error in the UI: {code} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:146) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:134) at com.atlassian.jira.web.dispatcher.JiraVelocityViewDispatcher.dispatch(JiraVelocityViewDispatcher.java:50) at com.atlassian.jira.web.dispatcher.JiraWebworkViewDispatcher.dispatchViaVelocityView(JiraWebworkViewDispatcher.java:110) {code} h4. Notes This feature is available in JIRA Agile Cloud. But JIRA Agile Server unable to render the feature properly Related KB: [method 'getSidebarHtml' java.lang.NoSuchMethodError when accessing JIRA Agile|https://confluence.atlassian.com/display/AGILEKB/method+'getSidebarHtml'+java.lang.NoSuchMethodError+when+accessing+JIRA+Agile] h4. Workaround Please disable the Sidebar Dark Feature by: # Navigating to JIRA with this address http://YOUR.JIRA.COM/secure/admin/SiteDarkFeatures!default.jspa # Disable this Dark Feature {{com.atlassian.jira.projects.ProjectCentricNavigation}} If the problem remains after removing the dark feature, some users may have opted to use the new Navigation mode through a banner suggestion, so we'll need to remove their opt-in directly from the database with the following steps: # (!) *Create a backup of JIRA's database or an XML Backup from JIRA* # Shutdown JIRA # Run the following query in JIRA's database: {code:sql} DELETE FROM feature WHERE FEATURE_NAME like '%ProjectCentricNavigation%'; {code} # Start JIRA

    Atlassian JIRA | 2 years ago | Watania Daniel
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17]
  2. 0

    h4. Summary When the *Sidebar* dark feature is enabled in JIRA, user will not be able to open any JIRA Agile board h4. Steps to Reproduce There are a two way which the issue could be reproduced: * Retrieve a JIRA Cloud backup and restore it into the latest JIRA version * Enable JIRA Dark Feature: *# Access JIRA with this address http://YOUR.JIRA.COM/secure/admin/SiteDarkFeatures!default.jspa *# Enable this Dark Feature {{com.atlassian.jira.projects.ProjectCentricNavigation}} h4. Expected Results JIRA Agile board is loading without problem, and Sidebar is rendered properly !Sidebar.png|thumbnail! h4. Actual Results Unable to access JIRA Agile board, and hit into this error in the UI: {code} An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.toWriterImpl(DefaultVelocityTemplatingEngine.java:146) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:134) at com.atlassian.jira.web.dispatcher.JiraVelocityViewDispatcher.dispatch(JiraVelocityViewDispatcher.java:50) at com.atlassian.jira.web.dispatcher.JiraWebworkViewDispatcher.dispatchViaVelocityView(JiraWebworkViewDispatcher.java:110) {code} h4. Notes This feature is available in JIRA Agile Cloud. But JIRA Agile Server unable to render the feature properly Related KB: [method 'getSidebarHtml' java.lang.NoSuchMethodError when accessing JIRA Agile|https://confluence.atlassian.com/display/AGILEKB/method+'getSidebarHtml'+java.lang.NoSuchMethodError+when+accessing+JIRA+Agile] h4. Workaround Please disable the Sidebar Dark Feature by: # Navigating to JIRA with this address http://YOUR.JIRA.COM/secure/admin/SiteDarkFeatures!default.jspa # Disable this Dark Feature {{com.atlassian.jira.projects.ProjectCentricNavigation}} If the problem remains after removing the dark feature, some users may have opted to use the new Navigation mode through a banner suggestion, so we'll need to remove their opt-in directly from the database with the following steps: # (!) *Create a backup of JIRA's database or an XML Backup from JIRA* # Shutdown JIRA # Run the following query in JIRA's database: {code:sql} DELETE FROM feature WHERE FEATURE_NAME like '%ProjectCentricNavigation%'; {code} # Start JIRA

    Atlassian JIRA | 2 years ago | Daniel Watania
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17]
  3. 0

    Asset thumbnail problem with 2.4.6

    infoglue | 10 years ago | nobody
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDigitalAssetThumbnailUrl' inĀ  class org.infoglue.cms.applications.contenttool.actions.ViewContentVersionAction threw exception java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. @ /cms/contenttool/viewContentVersionForFCKEditor.vm\[940,197\]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. org.apache.velocity.exception.MethodInvocationException

      Invocation of method 'getSidebarHtml' in class com.atlassian.greenhopper.web.rapid.RapidBoardAction threw exception java.lang.NoSuchMethodError: com.atlassian.jira.projects.api.sidebar.ProjectSidebarRenderer.render(Lcom/atlassian/jira/project/Project;Ljava/lang/String;)Ljava/lang/String; at com.pyxis.greenhopper.jira:greenhopper-webactions//templates/greenhopper/web/board/rapid/rapid-board.vm[line 39, column 17]

      at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException()
    2. Apache Velocity
      ASTReference.render
      1. org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:351)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
      4 frames