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

Still need help?

The Atlassian Community is here for you.

Ask the community

 

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

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)

Cause

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.

Resolution

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.