Fisheye instance is unreachable due to problems with JFreeChart library
Platform Notice: Data Center Only - This article only applies to Atlassian apps 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
Symptoms
The Fisheye instance starts without any issues, but it can't be reached in the browser, and the following appears in the atlassian-fisheye.log
:
2013-08-22 10:15:22,984 WARN [qtp772809452-149 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - Error for /fisheye/avatar/
java.lang.NoClassDefFoundError: org/jfree/chart/urls/XYURLGenerator
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.verifyAction(XmlConfigurationProvider.java:174)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addAction(XmlConfigurationProvider.java:136)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:246)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:703)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:159)
at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
at com.opensymphony.xwork.util.OgnlUtil.isUseOgnlEnhancement(OgnlUtil.java:585)
at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:287)
at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:224)
at com.opensymphony.webwork.dispatcher.WebWorkRequestWrapper.getAttribute(WebWorkRequestWrapper.java:52)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.createContextMap(DispatcherUtils.java:352)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.createContextMap(DispatcherUtils.java:311)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:241)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
.
.
.
Caused by: java.lang.ClassNotFoundException: org.jfree.chart.urls.XYURLGenerator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 130 more
Also, the logs show that the JFreeChart jar file was modified:
2013-08-22 10:34:27,939 INFO [WrapperStartStopAppMain ] fisheye Run-printSystemInfo - --------------------------
System Information
--------------------------
FishEye 3.0.3 20130723010312
FISHEYE_HOME : D:\fecru-3.0.3
FISHEYE_INST : D:\fecru-home
.
.
.
Modified Files:
* fisheye.jar
* lib/jfreechart-1.0.9.jar
Cause
Fisheye wasn't installed properly, or the JAR file got corrupted someway.
Resolution
Shutdown Fisheye
Download the same Fisheye version being used
Extract the
jfreechart-1.0.9.jar
libraryReplace the existing one at
<FISHEYE_HOME>/lib/jfreechart-1.0.9.jar
Start Fisheye
If the above steps don't work, re-install Fisheye from scratch.
Was this helpful?