Administration pages show getNotEmptySectionsForLocation error

Still need help?

The Atlassian Community is here for you.

Ask the community


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

The following appears in the 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( at org.apache.velocity.runtime.parser.node.ASTMethod.execute( at org.apache.velocity.runtime.parser.node.ASTReference.execute( at org.apache.velocity.runtime.parser.node.ASTReference.value( at org.apache.velocity.runtime.parser.node.ASTExpression.value( at org.apache.velocity.runtime.parser.node.ASTSetDirective.render( at org.apache.velocity.runtime.parser.node.SimpleNode.render( at org.apache.velocity.Template.merge( at org.apache.velocity.Template.merge( at at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody( at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml( at com.atlassian.jira.web.component.AbstractWebComponent.getHtml( 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

Last modified on Mar 30, 2016

Was this helpful?

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