|
From: SourceForge.net <no...@so...> - 2007-01-29 20:03:58
|
Bugs item #1646433, was opened at 2007-01-28 14:24 Message generated for change (Comment added) made by benoitx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1646433&group_id=164845 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: StatCVS Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: JPS (jps26401) >Assigned to: Benoit Xhenseval (benoitx) Summary: NullPointerException in 'Lines of Code' chart generation Initial Comment: When I want to use StatSVN on our project there occured the following error: Parsing SVN log './logfile.log' Scheduled 0 svn diff calls on 0 threads. Generating report for /trunk into ../neco/ Using default CSS file (statcvs.css) writing chart 'Lines of Code and Churn Level' to locandchurn.png Creating CSS file at '../neco/statcvs.css' writing chart 'Activity by Hour of Day' to activity_time.png writing chart 'Activity by Day of Week' to activity_day.png writing chart 'Commit Activity' to commitscatterauthors.png writing chart 'Author Activity' to activity.png writing chart 'Lines of Code' to loc.png Exception in thread "main" java.lang.NullPointerException at net.sf.statcvs.pages.Page.add(Page.java:160) at net.sf.statcvs.pages.FileSizesPageMaker.toFile(FileSizesPageMaker.java:53) at net.sf.statcvs.pages.ReportSuiteMaker.toFile(ReportSuiteMaker.java:80) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:295) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:227) at net.sf.statsvn.Main.generate(Main.java:112) at net.sf.statsvn.Main.main(Main.java:83) I know that project is "non-standard" but probably error shouldn't occur. ---------------------------------------------------------------------- >Comment By: Benoit Xhenseval (benoitx) Date: 2007-01-29 20:03 Message: Logged In: YES user_id=358115 Originator: NO Known issue with StatCVS http://sourceforge.net/tracker/index.php?func=detail&aid=1629929&group_id=57558&atid=484569 Will submit a patch ---------------------------------------------------------------------- Comment By: Benoit Xhenseval (benoitx) Date: 2007-01-29 17:45 Message: Logged In: YES user_id=358115 Originator: NO Hi I believe that the issue is in StatCVS. I will raise it with the development team. Have you added files since having faced your issue? Would you mind retrying? TimeLineChartMaker toFile returns null when timeLine.isEmpty(). Which would be on first check in I guess. but then Page.add(...chart) will simply assume that chart is never null. Hope this helps Benoit ---------------------------------------------------------------------- Comment By: JPS (jps26401) Date: 2007-01-29 07:51 Message: Logged In: YES user_id=1522978 Originator: YES File Added: dump_output.zip ---------------------------------------------------------------------- Comment By: Benoit Xhenseval (benoitx) Date: 2007-01-28 18:00 Message: Logged In: YES user_id=358115 Originator: NO When you run a statsvn with the "-dump" what do you get? Could you record that output and post it here? Thanks Benoit ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=833326&aid=1646433&group_id=164845 |