Unable to start the Spring context for plugin

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

When starting Fisheye/Crucible, the instance is unavailable and the following message is visible in the logs:

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

  1. Shutdown Fisheye/Crucible.
  2. Remove all the contents from FISHEYE_INST/cache/plugins and FISHEYE_INST/var/plugins .
  3. Restart Fisheye/Crucible.
Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.