JIRA Cannot render WebPanel with key 'com.atlassian.jira.jira-projects-plugin:summary-page-project-key' when Browsing Project

お困りですか?

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

コミュニティに質問

 

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

When using the new Project Navigation, accessing some projects will result in an error. The following message is displayed in a red box on the interface:

Cannot render WebPanel with key 'com.atlassian.jira.jira-projects-plugin:summary-page-project-key' 

The following is listed under atlassian-jira.log:

2015-07-01 17:18:54,279 http-bio-8193-exec-15 WARN user 1038x219x2 11n6qeh 192.168.10.01 /projects/ABC [jira.projects.util.WebPanelRenderer] Cannot render WebPanel with key 'com.atlassian.jira.jira-projects-plugin:summary-page-project-key'
java.lang.NullPointerException: null value
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
        at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:139)
        at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:178)
        at com.atlassian.jira.projects.page.summary.DefaultVignetteContextProvider.getContextMap(DefaultVignetteContextProvider.java:24)
        at com.atlassian.jira.projects.page.AbstractProjectsPageContextProvider.getContextMap(AbstractProjectsPageContextProvider.java:22)
        at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.writeHtml(DefaultWebPanelModuleDescriptor.java:149)

原因

JIRA does not expect a NULL value in the description of the Project Category. While you can have a Category without a description, the value in the database should not be NULL.

ソリューション

You can use the following query to identify if your JIRA instance is facing this problem:

SELECT * FROM projectcategory where description is null;

If the query above returns any lines, then run the query below to fix the problem:
(warning) Remember to perform a complete database backup before making changes!

UPDATE projectcategory set description = '' where description is null;

After running the query, make sure to restart your JIRA Server.

Last modified on Mar 30, 2016

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

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