Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-40262

java.lang.NoSuchMethodError exception when accessing Sidebar Dark Feature in JIRA Agile

    XMLWordPrintable

Details

    Description

      Summary

      When the Sidebar dark feature is enabled in JIRA, user will not be able to open any JIRA Agile board

      Steps to Reproduce

      There are a two way which the issue could be reproduced:

      Expected Results

      JIRA Agile board is loading without problem, and Sidebar is rendered properly

      Actual Results

      Unable to access JIRA Agile board, and hit into this error in the UI:

      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)
      

      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

      Workaround

      Please disable the Sidebar Dark Feature by:

      1. Navigating to JIRA with this address http://YOUR.JIRA.COM/secure/admin/SiteDarkFeatures!default.jspa
      2. 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:

      1. Create a backup of JIRA's database or an XML Backup from JIRA
      2. Shutdown JIRA
      3. Run the following query in JIRA's database:
        DELETE FROM feature WHERE FEATURE_NAME like '%ProjectCentricNavigation%';
        
      4. Start JIRA

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              dwatania@atlassian.com Daniel Watania (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: