Unable to start the Spring context for plugin
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When starting Fisheye/Crucible, the instance is unavailable and the following message is visible in the logs:
1
2
3
4
5
6
7
8
ERROR [Spring executor 4 ] com.atlassian.plugin.osgi.factory.OsgiPlugin com.atlassian.plugin.osgi.factory.OsgiPlugin-onSpringContextFailed - Unable to start the Spring context for plugin
com.atlassian.upm.atlassian-universal-plugin-manager-plugin
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkBuilder' defined in URL [bundle://39.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.atlassian.upm.PluginAccessorAndController]: : Error creating bean with name 'pluginAccessorAndController' defined in URL
[bundle://39.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating
bean with name 'auditLogService' defined in URL [bundle://39.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is
java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "3 "; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'auditLogService' defined in URL [bundle://39.0:0/META-INF/spring/atlassian-plugins-components.xml]:
Cause
The plugin cache has been corrupted by an operation (eg. Java update) and it needs to be re-generated.
Resolution
Shutdown Fisheye/Crucible.
Remove all the contents from
FISHEYE_INST/cache/plugins
andFISHEYE_INST/var/plugins
.Restart Fisheye/Crucible.
Was this helpful?