Hello,
statcvs 0.4.0 crashes whenever I try to use it on my debian box, with errors in the spirit of
/usr/lib/jvm/java-6-sun/bin/java -jar statcvs-0.4.0/statcvs.jar biniou.log ~/CVSWork/RegExps
StatCVS - CVS statistics generation
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -10
at java.lang.String.substring(String.java:1938)
at net.sf.statcvs.util.CvsLogUtils.getModuleName(CvsLogUtils.java:92)
at net.sf.statcvs.input.CvsFileBlockParser.parse(CvsFileBlockParser.java:91)
at net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:80)
at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:165)
at net.sf.statcvs.Main.main(Main.java:76)
This happens either with Sun's java or gcj, and independently of whether I use the pristine .jar downloaded from sf.net or the one built from source (or the one from the soon-to-come debian package). It also seems to be independent of the repository I'm trying my hands on.
I have no idea what is causing the problem, but I'm ready to give any further information you should need.
Regards,
Vincent (packaging statcvs for Debian users)
Sorry to get back to you so late
Could you try with version 0.6.0 and let me know
Thanks
Benoit