I am receiving a null pointer exception during the logfile parsing stage. As it is retrieving the diffs, the log file shows:
svn diff 299/10982 on r59896 (62 ms.) main
ui/src/dingo/includes/contentviewer.css, on r59896, +107 -0
svn diff 300/10982 on r65867 (60 ms.) main
Exception in thread "main" java.lang.NullPointerException
By any chance, do you have any revisions which are property changes only? I just committed some code yesterday with this fix and will be putting the new archive only soon.
Not sure. I am using the package to do forensics on an third party codebase in association with legal discovery. I was just about to download the source for statsvn and set a break to see what the underlying cause was.
You can either download&run the latest version of the code, wait until we package the next jar, or try the -force-legacy-diff option to circumvent this issue.
Running from source I see that the of the three element Object returned from repositoryFileManager.getRevisionDiff(newRevision), the first element (filename) is null, which is causing the error.
And you downloaded the source within the last 6 hours?
(here is the latest jar: http://www.statsvn.org/beta/statsvn.jar\)
Log in to post a comment.