NullPointerException when viewing user profile

(oops.txt) I have been updating avatars for all of the users in my Jira installations (successfully). When I went to update my own, Jira returned a stacktrace with a NullPointerException. It is reproducible only for myself, and for any route into the user profile e.g.:

- from /secure/admin/user/UserBrowser.jspa, clicking on username

- from /secure/admin/user/UserBrowser.jspa, clicking on edit avatar in hoverbox

- from any issue page clicking on the username or avatar

I have successfully run an integrity check, which did not pick up any issues and did not fix the problem. Same with rebuilding indexes and restarting the service. I have logged in and out and restarted my browser. The issue is still reproducible.

2 answers

1 accepted

Run in the database this sql:

select * from propertyentry where propertytype is null;

If it returns rows, you need to update the propertytype with the corrseponding id

0 vote
David Currie Atlassian Team Sep 27, 2012

I've written up a KB for this under NullPointerException when viewing User Profile which has verification and also suggested steps for the fix. :)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,331 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot