Administration pages show getNotEmptySectionsForLocation error

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

An administrator goes to the Administration interface and gets a gigantic stack trace, and part of the page renders below. 3

atlassian-jira.log and on screen に次のエラーが返されます。

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 'getNotEmptySectionsForLocation' in class com.atlassian.jira.plugin.webfragment.DefaultSimpleLinkManager threw exception java.lang.NullPointerException at templates/plugins/webfragments/system-admin-navigation-bar.vm[line 3, column 42] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) 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.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) 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.getEncodedBody(DefaultVelocityManager.java:67) at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104) at com.atlassian.jira.web.component.AbstractWebComponent.getHtml(AbstractWebComponent.java:35) at 

Screenshot of the issue:

診断

Run this query:

select pname from project where project.avatar NOT IN (select id from avatar);

Any projects which come up are affected by this issue.

原因

The project avatar as identified in the projects table does not exist in the avatar table.

ソリューション

  1. Re-upload the project avatar as another user with administrator permissions.

    (info) If another administrator doesn't exist or the password is forgotten, please following the knowledge article, Retrieving the JIRA Administrator

最終更新日 2016 年 3 月 30 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.