From: Christian B. <ba...@ai...> - 2003-07-12 01:21:45
|
I'm currently packaging StatCVS for Debian I get the following error running ont StatCVS itself Generating report for StatCVS into stats/ Using default CSS file (statcvs.css) Parsing CVS log 'statcvs.log' Creating HTML output Creating CSS file at 'stats/statcvs.css' Exception in thread "main" java.lang.ExceptionInInitializerError at com.jrefinery.chart.ChartFactory.createTimeSeriesChart(ChartFactory.java:459) at net.sf.statcvs.renderer.LOCChart.createLOCChart(LOCChart.java:116) at net.sf.statcvs.renderer.LOCChart.<init>(LOCChart.java:73) at net.sf.statcvs.output.HTMLOutput.createLOCChart(HTMLOutput.java:300) at net.sf.statcvs.output.HTMLOutput.createHTMLSuite(HTMLOutput.java:177) at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:178) at net.sf.statcvs.Main.main(Main.java:75) Caused by: java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:138) at com.jrefinery.chart.JFreeChartInfo.<init>(JFreeChart.java:766) at com.jrefinery.chart.JFreeChart.<clinit>(JFreeChart.java:118) ... 7 more Probably I didn't choose exact good version of jcommon and jfreechart I use jcommon-0.6.4.tar.gz jfreechart-0.9.2.tar.gz since the two last version don't compile at all with statcvs (because of refactoring to org.jfree, but worst some function seems to have disapeared) how is your jfreechart.jar built (with which version?), because things works with your jar Thank for your nice tool Christian |
From: Richard C. <rc...@gm...> - 2003-07-12 11:33:12
|
From: "Christian BAYLE" <ba...@ai...> > I'm currently packaging StatCVS for Debian Cool! > I get the following error running ont StatCVS itself [snip stack trace] > Probably I didn't choose exact good version of > jcommon and jfreechart > > I use jcommon-0.6.4.tar.gz jfreechart-0.9.2.tar.gz Yes, we use the same versions. > since the two last version don't compile at all with statcvs > (because of refactoring to org.jfree, but worst some function > seems to have disapeared) We were not too happy about that, either. > how is your jfreechart.jar built (with which version?), because things > works with your jar We simply packed everything from the two independent jar files into one jar. In jfreechart.jar, there's a file com/jrefinery/chart/gorilla.jpg. Maybe it's missing in your jar? That would be a possilbe explanation for the stack trace. BTW: There's an effort to integrate StatCvs with Maven [1], and as a part of that, StatCvs was ported to the up-to-date version of JFreeChart. Lots of cool stuff going on there. I hope to fold back these changes into our repository and make a new release in a couple of weeks. [1] http://statcvs-xml.berlios.de/ |
From: Christian B. <ba...@ai...> - 2003-07-12 21:38:37
|
Richard Cyganiak a écrit : >From: "Christian BAYLE" <ba...@ai...> > > >>I'm currently packaging StatCVS for Debian >> >> > >Cool! > > It just entered in debian :) > > >>I get the following error running ont StatCVS itself >> >> >[snip stack trace] > > >>Probably I didn't choose exact good version of >>jcommon and jfreechart >> >>I use jcommon-0.6.4.tar.gz jfreechart-0.9.2.tar.gz >> >> > >Yes, we use the same versions. > > Good point for me >>since the two last version don't compile at all with statcvs >>(because of refactoring to org.jfree, but worst some function >>seems to have disapeared) >> >> > >We were not too happy about that, either. > > > >>how is your jfreechart.jar built (with which version?), because things >>works with your jar >> >> > >We simply packed everything from the two independent jar files into one jar. > >In jfreechart.jar, there's a file com/jrefinery/chart/gorilla.jpg. Maybe >it's missing in your jar? That would be a possilbe explanation for the stack >trace. > Yes, it is missing, this might be the clue, thanks >BTW: There's an effort to integrate StatCvs with Maven [1], and as a part of >that, StatCvs was ported to the up-to-date version of JFreeChart. Lots of >cool stuff going on there. I hope to fold back these changes into our >repository and make a new release in a couple of weeks. > > Cool, let me know, I will upgrade the package, and will be able to use the two jfreechart and jcommon package I made. I attache a patch to close files, this make stacvs fail on big archive. >[1] http://statcvs-xml.berlios.de/ > > Have you some link with berlios guys? I was just wondering if they use debian sourceforge package I co-maitain |
From: Richard C. <rc...@gm...> - 2003-07-12 21:57:34
|
From: "Christian BAYLE" <ba...@ai...> > I attache a patch to close files, this make stacvs fail on big archive. Thanks, it's committed to CVS. > >[1] http://statcvs-xml.berlios.de/ > Have you some link with berlios guys? I was just wondering if they use > debian sourceforge package I co-maitain We are in contact, but I don't know if they use it. I just checked the package list at debian.org and saw the statcvs package. Very cool! I wish I was using Debian so I could actually use it :-) Thanks a lot, Christian, and I'll keep you informed on the next release. |