Hello,
I have this crash when trying to create the stats for my test repository:
C:\statcvs>java -jar statcvs.jar -verbose -debug Test cvslog.log c:\temp\test
StatCvs - CVS statistics generation
Generating report for Test into
Using default CSS file (statcvs.css)
Parsing CVS log 'cvslog.log'
FINE statcvs.input.CvsLogfileParser parse(): starting to parse...
Exception in thread "main" java.lang.NumberFormatException: For input string: "-
1;"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at net.sf.statcvs.input.CvsRevisionParser.parseDateLine(CvsRevisionParse
r.java:174)
at net.sf.statcvs.input.CvsRevisionParser.messageLine(CvsRevisionParser.
java:118)
at net.sf.statcvs.input.CvsFileBlockParser.getParsedRevisions(CvsFileBlo
ckParser.java:199)
at net.sf.statcvs.input.CvsFileBlockParser.getParsedFile(CvsFileBlockPar
ser.java:181)
at net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:79)
at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:163)
at net.sf.statcvs.Main.execute(Main.java:94)
at net.sf.statcvs.Main.main(Main.java:74)
Have anyone seen this problem before ?
I have to say it's working for another (much more complex) repository (namely
ogre at ogre.sourceforge.net), so I suspect it's because my repository has few
files, and so the cvs log misses some infos...
(in file-attch: the cvs log)
Popov
|