StatSVN nullpointerexception parsing the svn log

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

StatSVN nullpointerexception parsing the svn log

This post has NOT been accepted by the mailing list yet.
This post was updated on .
First of all my apologies: I posted this in User Forum too and later saw this dev-forum and realized this should be the right place I am supposed to post. Please accept my apologies for the spam.

   Am using java V 1.4.1 and invoked StatSVN using the syntax.

java -jar statsvn.jar -debug -output-dir %StatSVNRptLoc% -cache-dir LibCache %SVNlogfile% %librepo%

I got the below output and repositories.xml that automatically got created is empty. The SVNlogfile was well-formed and my new-install-Internet Explorer V 8 also loaded is successfully and completely with out reporting any error.

FINE statsvn.util.JavaUtilTaskLogger log(): logging default/SearchLeftPanel.css
FINE statsvn.util.JavaUtilTaskLogger log(): logging app/HomePageData.aspx.js
FINE statsvn.util.JavaUtilTaskLogger log(): logging default/MenuItems.js
FINE statsvn.util.JavaUtilTaskLogger log(): parsing svn log finished in 4922 ms.
FINE statsvn.util.JavaUtilTaskLogger log(): verifying implicit actions ...
FINE statsvn.util.JavaUtilTaskLogger log(): verifying implicit actions finished
in 31 ms.
Repositories: org.xml.sax.SAXParseException: Document root element is missing.
Exception in thread "main" java.lang.NullPointerException
        at org.apache.xalan.serialize.SerializerToXML.writeAttrString(Serializer
        at org.apache.xalan.serialize.SerializerToXML.processAttribute(Serialize
        at org.apache.xalan.serialize.SerializerToXML.startElement(SerializerToX
        at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(Tra
        at org.apache.xml.utils.TreeWalker.startNode(
        at org.apache.xml.utils.TreeWalker.traverse(
        at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
        at net.sf.statsvn.util.XMLUtil.writeXmlFile(
        at net.sf.statsvn.input.SvnLogfileParser.handleLineCounts(SvnLogfilePars
        at net.sf.statsvn.input.SvnLogfileParser.parse(
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(
        at net.sf.statsvn.Main.generate(
        at net.sf.statsvn.Main.main(

I tried checking out the code for StatSVN, but was left clueless on debugging it correctly on my files.

Appreciate if someone can share some light on resolving this issue.


VC Sekhar Parepalli