Jira Technical Issue after update

Oops - an error has occurred

Technical details

Log's referral number: 72286abc-4d06-4d12-b7d0-9ed15e553c6c

Cause

Referer URL: Unknown

java.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: java.lang.RuntimeException: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.atlassian.jira.security.JiraAuthenticationContext.getLoggedInUser()Lcom/atlassian/crowd/embedded/api/User;

 

2 answers

0 vote
Steven Behnke Community Champion Jul 19, 2017

Is this JIRA Cloud or JIRA Server?

Jira Software - Server

I tried to upgrade Jira 6.3.15 to the latest jira version which seemed fine but then suddenly this error appeared.

 

After several hours I managed to install a seperate version of 6.3.15 and run it through tomcat (instead of the installed service) and restored the database over the fresh installation

 

I am wondering if I have to incremental update to 6.4 and then the latest 6.4.14 and then to 7??

however, I had issues with the database as well after 7 complained regarding the collation of the 6.3 database which is set to: Latin1_General_CI_AS

 

 

0 vote

This is a very common error to see when upgrading JIRA.  It happens because your JIRA installation still has the old plugin versions that cannot be loaded in the new version of JIRA.  But JIRA still tries to load these and you get this error.  Details on this are in this KB: 

Upgrading to JIRA 7 throws a NoSuchMethodError on com.atlassian.crowd.embedded.api.User

Removing the user plugins from that directory and restarting JIRA can get you past that error.

However.....

Also I would not recommend trying to upgrade any JIRA 6 or before version directly to any version of JIRA 7.2 or higher in a single upgrade.  There are known problems with trying to do this (especially if you run JIRA service desk).  Instead it's recommended to upgrade JIRA to a 7.0.x version first, and then make sure to upgrade all the plugins you need for that version.  Once complete you can then upgrade to the latest versions such as 7.3.x or the latest 7.4.1.  

It would have been nice if JIRA has in this case catches any error from (3rd party) plugins and disables them, preferable automatically.

 

I will have a go today again and try to install latest 6.* version and from there I will go to 7.0 and then incrementally upgrade - just in case.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,243 views 10 18
Read article

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