error while updating universal plugin manager for jira 5.2.1

chrisi December 7, 2012

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
Answer accepted
BenW
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 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

Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2012

This has been fixed in Confuence 2.7.10

BenW
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 10, 2012

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

2 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2012

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

0 votes
Jari Kokkonen December 9, 2012

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

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2012

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

0 votes
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2012
0 votes
Alfonso Martinez December 9, 2012

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

0 votes
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2012

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

Suggest an answer

Log in or Sign up to answer