error while updating universal plugin manager for jira 5.2.1

when trying to update the UPM i get the error:

An error was encountered while updating the UPM. Please see the logs for more details.

In the logs there is the following error:

There was an error loading the descriptor 'null' of plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin'. Disabling.

Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.DisposableBean

the currently installed version of the upm is 2.7.8.

6 answers

1 accepted

3 votes
Ben Woskow Atlassian Team Dec 10, 2012

There is a bug in UPM 2.7.8 and 2.7.9 which causes the UPM update to fail. Please take a look at the following Knowledge Base article for a workaround.

https://confluence.atlassian.com/display/JIRAKB/UPM+Self-Update+fails+when+updating+from+UPM+2.7.8+or+2.7.9+to+newer+versions

Cheers,

Ben

This has been fixed in Confuence 2.7.10

Ben Woskow Atlassian Team Dec 10, 2012

CORRECTION - It has been fixed in the *Universal Plugin Manager* version 2.7.10 (not Confluence), which will be released later today.

This seems to be a bug in the latest version of the UPM. More infor and a workaround in https://ecosystem.atlassian.net/browse/UPM-2960

Yup same here. Check you installed-plugins dir. I got selfupdate twice in there. After removing it and clearing .bundeled&.osgi-plugins and resrarting jira still broken upm update. Also uploading manually is no work arround. I think this version is damaged Im pretty sure atlassian is goin to fix it soon

I am getting the same on this, voted up for you!

Same thing here.

The error log contains this kind of lines:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'updateParametersFactory' defined in URL [bundle://115.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.sal.api.pluginsettings.PluginSettingsFactory]: : Error loading class [com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager] for bean with name 'simpleAsyncTaskManager' defined in URL [bundle://115.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager not found from bundle [Atlassian Universal Plugin Manager Self-Update Plugin (com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin)]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager] for bean with name 'simpleAsyncTaskManager' defined in URL [bundle://115.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager not found from bundle [Atlassian Universal Plugin Manager Self-Update Plugin (com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin)]

Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager] for bean with name 'simpleAsyncTaskManager' defined in URL [bundle://115.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager not found from bundle [Atlassian Universal Plugin Manager Self-Update Plugin (com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin)]

Caused by: java.lang.NoClassDefFoundError: com.atlassian.upm.selfupdate.async.SimpleAsyncTaskManager not found from bundle [Atlassian Universal Plugin Manager Self-Update Plugin (com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin)]

Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/DisposableBean

just follow steps from above comment...in a different post...you will need to restart jira but it will work

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,314 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