Fisheye throws "Unable to start the Spring context for plugin com.atlassian.confluence.plugins.ssl.sslplugin" error at startup

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

As part of the Fisheye start, the following appears in the atlassian-fisheye-YYY-MM-DD.log:

WARN  [Spring executor 4 ] org.springframework.beans.TypeConverterDelegate TypeConverterDelegate-findDefaultEditor - PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
ERROR [Spring executor 10 ] com.atlassian.plugin.osgi.factory.OsgiPlugin OsgiPlugin-onSpringContextFailed - Unable to start the Spring context for plugin com.atlassian.confluence.plugins.ssl.sslplugin
java.lang.NoClassDefFoundError: com/atlassian/bandana/BandanaContext
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2545)
	at java.lang.Class.getConstructors(Class.java:1519)
	at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520)
	...
Caused by: java.lang.ClassNotFoundException: com.atlassian.bandana.BandanaContext
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
	at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	... 24 more

After the messages above, Fisheye confirms that the Plugin system has been started with the following:

INFO  [main ] fisheye DelegatingFisheyePluginManager-onContextRefreshedEvent - Plugin system started.

Further down in the log files, the sslplugin is reported as Disabled:

--------------------------
Listing installed plugins:
--------------------------
                                                         Name |            Version |                       Vendor |    State 
                                                     sslplugin|                 1.0|                     Atlassian|  Disabled

Cause

The folder $FISHEYE_INST/var/plugins/user contains a *sslplugin-1.0.jar file (the exact name depends on the plugin version), which corresponds to the SSL for Confluence plugin.

This is not a valid plugin for Fisheye/Crucible.

Resolution

Resolutions are ways to fix problems in the application once and for all, generally these wouldn't be hacky solutions.

  • Stop Fisheye
  • Remove the *sslplugin-1.0.jar file from the $FISHEYE_INST/var/plugins/user folder
  • Remove the directory $FISHEYE_INST/var/osgi-cache/
  • Start Fisheye
Last modified on Jul 31, 2018

Was this helpful?

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