JIRA Cannot render WebPanel with key 'com.atlassian.jira.jira-projects-plugin:summary-page-project-key' when Browsing Project
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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:
1
Cannot render WebPanel with key 'com.atlassian.jira.jira-projects-plugin:summary-page-project-key'
The following is listed under atlassian-jira.log
:
1
2
3
4
5
6
7
8
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:
1
SELECT * FROM projectcategory where description is null;
If the query above returns any lines, then run the query below to fix the problem:
⚠️Remember to perform a complete database backup before making changes!
1
UPDATE projectcategory set description = '' where description is null;
After running the query, make sure to restart your JIRA Server.
Was this helpful?