From: Benoit X. <bx...@ob...> - 2007-07-13 09:20:22
|
Hi Your issue is not really with an NPE on the RepoMapPageMaker but the fact that it did not generate a valid Repository object. Are you sure that you have pointed to a correct svn.log, and run from a checked out directory? Could you run StatSVN with -dump? If not too big you can post the svn.log file. I may add a validation of the Repository prior to attempting to generate any page, this would avoid misleading errors. Let us know Benoit. -----Original Message----- From: sta...@li... [mailto:sta...@li...] On Behalf Of Irvine, Chuck R [EQ] Sent: 12 July 2007 21:26 To: sta...@li... Subject: [Statsvn-developers] Getting NullPointerException when running statsvn I'm a user of statSvn. I hope it's ok to post here. I didn't see a users mailing list. When I run statsvn I'm getting the NPE given below. It does work correctly on another svn workspace. Can anyone offer any hits of any kind? Thanks, Chuck C:\Apps\statsvn-0.3.1>java -jar statsvn.jar c:\home\eclipse33workspace\datafeed-core\svn.log c:\home\eclipse33workspace\datafeed-core Jul 12, 2007 3:02:07 PM net.sf.statsvn.util.JavaUtilTaskLogger info INFO: StatSVN - SVN statistics generation Parsing SVN log 'c:\home\eclipse33workspace\datafeed-core\svn.log' exclude pattern 'null' Scheduled 0 svn diff calls on 0 threads. Generating report for /1PP/TNT/datafeed-core/trunk into Using default CSS file (statcvs.css) Exception in thread "main" java.lang.NullPointerException at net.sf.statcvs.model.Repository.getDirectories(Repository.java:161) at net.sf.statsvn.output.RepoMapPageMaker.buildXmlForJTreeMap(RepoMapPageMa ker.java:112) at net.sf.statsvn.output.RepoMapPageMaker.toFile(RepoMapPageMaker.java:91) at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:294) 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) C:\Apps\statsvn-0.3.1> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Statsvn-developers mailing list Sta...@li... https://lists.sourceforge.net/lists/listinfo/statsvn-developers No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.4/898 - Release Date: 12/07/2007 16:08 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.4/898 - Release Date: 12/07/2007 16:08 |