-
Bug
-
Resolution: Fixed
-
Medium
-
6.3.6, 6.3.7
-
JIRA Agile 6.6.0
-
6.03
-
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:
- 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
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:
- 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:
DELETE FROM feature WHERE FEATURE_NAME like '%ProjectCentricNavigation%';
- Start JIRA
- is duplicated by
-
JSWSERVER-11546 New project sidebar broken after migrating to server
- Closed
-
JSWSERVER-14831 NoSuchMethod error displayed on RapidBoard after migrating from JIRA Cloud
- Closed
- was cloned as
-
SW-882 Loading...