Fisheye instance is unreachable due to problems with JFreeChart library

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

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

原因

Fisheye wasn't installed properly, or the JAR file got corrupted someway.

ソリューション

  1. Shutdown Fisheye
  2. Download the same Fisheye version being used
  3. Extract the jfreechart-1.0.9.jar library
  4. Replace the existing one at <FISHEYE_HOME>/lib/jfreechart-1.0.9.jar
  5. Start Fisheye

If the above steps don't work, re-install Fisheye from scratch.

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.