Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Exception when creating stats

1.1
open
Joe Egan
5
2014-06-20
2010-12-15
direx
No

Running svnstat for a project fails with the following exception:

debug@vc242 /tmp/svn $ java -classpath ./SvnStat-all.jar de.agentlab.svnstat.SvnStat -jar ./SvnStat-all.jar -r repo.log -d stats
org.jCharts.properties.PropertyException: The Axis Increment can not be a negative value or zero.
at org.jCharts.properties.DataAxisProperties.setUserDefinedScale(Unknown Source)
at de.agentlab.svnstat.Graph.lineChart(Graph.java:122)
at de.agentlab.svnstat.Stat.fileCount(Stat.java:433)
at de.agentlab.svnstat.SvnStat.run(SvnStat.java:93)
at de.agentlab.svnstat.SvnStat.main(SvnStat.java:257)

This only happens for one project - the other projects work just fine.

Discussion

  • Joe Egan
    Joe Egan
    2014-06-18

    I encountered this error too - when there were no commits to analyze (in a given date range). I was able to reproduce issue, have a fix for it, and will contact @lind to ask whether I can join the project to contribute the fix.

     
  • Joe Egan
    Joe Egan
    2014-06-20

    I plan a fix for this issue in the 1.1 release. Thanks to @lind for letting me join the project to help.

     
    Last edit: Joe Egan 2014-06-20