Community
Participate
Working Groups
I am using sloccount-plugin in version 1.4 and after a few builds it tries to display a trend chart on the job's dashboard. The image is broken and when calling its URL (http://hudson/job/<job>/sloccountResult/trend) you get an internal server error with different stacktraces telling you that it could not find org.jfree.chart.axis.CategoryAxis. I've changed sloccount's MANIFEST.MF from Plugin-Dependencies: maven-plugin:1.319 to Plugin-Dependencies: maven-plugin:1.319,jfreechart-plugin:1.4 and it seems to work. Here's the root cause exception: java.lang.ClassNotFoundException: org.jfree.chart.axis.CategoryAxis org.aspectj.weaver.bcel.ExtensibleURLClassLoader.findClass(ExtensibleURLClassLoader.java:54) java.lang.ClassLoader.loadClass(ClassLoader.java:306) java.lang.ClassLoader.loadClass(ClassLoader.java:247) hudson.plugins.sloccount.SloccountProjectAction.doTrend(SloccountProjectAction.java:123)