Menu

#100 "String index out of range: -2"

Latest release
open
nobody
5
2009-06-24
2009-06-24
Anonymous
No

I am seeing this error message when I attempt to run the following command across the cvs log file output:

Command:

/usr/java/jdk1.5.0_06/bin/java -jar /home/toml/lib/statcvs-0.5.0/statcvs.jar /home/staging/autocheckout/cvs-log /home/staging/autocheckout/topcat2 -output-dir /home/toml/www/cvsstats -no-developer ws -no-developer whit -no--no-developer kam01 -title 'Staging Stats' -exclude 'docs/**/' -exclude 'www/scripts/tinymce/*.js' -exclude 'www/scripts/tinymce/jscripts/**/'

Exception:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1768)
at net.sf.statcvs.input.CvsFileBlockParser.parseSymbolicNames(CvsFileBlockParser.java:137)
at net.sf.statcvs.input.CvsFileBlockParser.parse(CvsFileBlockParser.java:80)
at net.sf.statcvs.input.CvsLogfileParser.parse(CvsLogfileParser.java:80)
at net.sf.statcvs.Main.generateDefaultHTMLSuite(Main.java:169)
at net.sf.statcvs.Main.main(Main.java:76)

I am happy to provide the log file - but ideally would like it to remain somewhat private as it might contain a few things about the company, etc.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.