Fisheye fail to work after upgrade

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After upgrading Fisheye, most of the functions in Fisheye web site are not working and throwing error. The following appears in the fisheye-error-date.log:

2012-10-16 17:05:38,432 WARN  [main ] org.twdata.pkgscanner.ExportPackageListBuilder org.twdata.pkgscanner.ExportPackageListBuilder-logDuplicateWarning - Package Scanner found duplicates for package 'com.atlassian.applinks.api.application.fecru' with different versions. Files: applinks-api-3.9.0.jar and applinks-api-3.5.5.jar
  'E:\Atlassian\Fisheye\lib\applinks-api-3.9.0.jar'
  'E:\Atlassian\Fisheye\lib\applinks-api-3.5.5.jar'
...
2012-10-16 17:05:38,476 WARN  [main ] org.twdata.pkgscanner.ExportPackageListBuilder org.twdata.pkgscanner.ExportPackageListBuilder-logDuplicateWarning - Package Scanner found duplicates for package 'com.atlassian.security.cookie' with different versions. Files: atlassian-cookie-tools-2.3.jar and atlassian-cookie-tools-2.0.jar
  'E:\Atlassian\Fisheye\lib\atlassian-cookie-tools-2.3.jar'
  'E:\Atlassian\Fisheye\lib\atlassian-cookie-tools-2.0.jar'
2012-10-16 17:05:38,477 WARN  [main ] org.twdata.pkgscanner.ExportPackageListBuilder org.twdata.pkgscanner.ExportPackageListBuilder-logDuplicateWarning - Package Scanner found duplicates for package 'com.atlassian.event.config' with different versions. Files: atlassian-event-2.2.0.jar and atlassian-event-2.1.1.jar
  'E:\Atlassian\Fisheye\lib\atlassian-event-2.2.0.jar'
  'E:\Atlassian\Fisheye\lib\atlassian-event-2.1.1.jar'
...
2012-10-16 17:05:41,802 ERROR [main ] com.atlassian.event.internal.EventPublisherImpl com.atlassian.event.internal.EventPublisherImpl-invokeListeners - There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@11ab26e2' from the invoker 'com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1@4f2de841'.
java.lang.RuntimeException: aQute.lib.osgi.Clazz.<init>(Ljava/lang/String;LaQute/lib/osgi/Resource;)V
	at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:67)
	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
	at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)
	at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)
	at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)
	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:137)

...
Caused by: java.lang.reflect.InvocationTargetException
...
Caused by: java.lang.NoSuchMethodError: aQute.lib.osgi.Clazz.<init>(Ljava/lang/String;LaQute/lib/osgi/Resource;)V

Cause

FISHEYE_HOME/lib directory contains the old Fisheye lib files that are not compatible with the new Fisheye.

Resolution

  1. Stop Fisheye
  2. Delete FISHEYE_HOME/lib directory
  3. Add back the lib from the correct version of Fisheye
  4. Start Fisheye
Last modified on Jul 31, 2018

Was this helpful?

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