Re: Error executing svn log command - CC 2.8.2 on Windows and Mac OS X

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Have you tried running the same command yourself from the command-line?

svn log --non-interactive --xml -v -r
{2009-04-02T22:28:26Z}:{2009-04-02T23:13:17Z} --no-auth-cache --username
<username> --password <password>

Perhaps you're getting malformed output?

Jtf


On Thu, Apr 2, 2009 at 4:19 PM, Grant Limberg <[email protected]> wrote:

> I'm running across an error on both Windows and Mac CC servers.  This
> didn't pop up until I had set checkExternals="true" in
> <modificationset><svn
> It pulls updates from the repository absolutely fine.  Here's a snippet
> from my config.xml:
>
> <modificationset quietperiod="900">
> <svn localWorkingCopy="checkout/Licenser/" username="MyUserName"
> password="MyPassword" checkExternals="true"/>
> </modificationset>
>
>
> And here's the error in the output:
>
> 009-04-02 16:13:17,022 [Thread-69] INFO  Project          - Project
> OSX-10.5-Licenser-CI-Debug:  checking for modifications
> 2009-04-02 16:13:17,023 [Thread-69] INFO  ProjectController -
> OSX-10.5-Licenser-CI-Debug Controller: build progress event: checking for
> modifications
> 2009-04-02 16:13:20,124 [Thread-73] WARN  SVN              - svn: invalid
> option:
> 2009-04-02 16:13:20,127 [Thread-73] WARN  SVN              - Type 'svn
> help' for usage.
> 2009-04-02 16:13:20,132 [Thread-69] ERROR SVN              - Error
> executing svn log command svn log --non-interactive --xml -v -r
> {2009-04-02T22:28:26Z}:{2009-04-02T23:13:17Z} --no-auth-cache --username
> <snip> --password <snip> -
> org.jdom.input.JDOMParseException: Error on line -1: Premature end of file.
>     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
>     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN$SVNLogXMLParser.parse(SVN.java:547)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN$SVNLogXMLParser.parseAndFilter(SVN.java:534)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN.execHistoryCommand(SVN.java:454)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN.getModifications(SVN.java:264)
>     at
> net.sourceforge.cruisecontrol.ModificationSet.retrieveModificationsAsElement(ModificationSet.java:276)
>     at
> net.sourceforge.cruisecontrol.Project.getModifications(Project.java:424)
>     at net.sourceforge.cruisecontrol.Project.build(Project.java:198)
>     at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
>     at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
>     at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>     at java.lang.Thread.run(Thread.java:613)
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>     at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>     at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
>     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>     at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
>     ... 12 more
> Caused by: org.xml.sax.SAXParseException: Premature end of file.
>     at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)
>     at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
> Source)
>     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>     at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>     at
> org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
>     at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN$SVNLogXMLParser.parse(SVN.java:547)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN$SVNLogXMLParser.parseAndFilter(SVN.java:534)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN.execHistoryCommand(SVN.java:454)
>     at
> net.sourceforge.cruisecontrol.sourcecontrols.SVN.getModifications(SVN.java:264)
>     at
> net.sourceforge.cruisecontrol.ModificationSet.retrieveModificationsAsElement(ModificationSet.java:276)
>     at
> net.sourceforge.cruisecontrol.Project.getModifications(Project.java:424)
>     at net.sourceforge.cruisecontrol.Project.build(Project.java:198)
>     at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
>     at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
>     at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>     at java.lang.Thread.run(Thread.java:613)
> 2009-04-02 16:13:20,133 [Thread-69] INFO  ModificationSet  - 9
> modifications have been detected.
>
>
> Again, this didn't start happening until I set the checkExternals attribute
> of svn in modificationset to true.
>
> Any ideas what's causing this?  Its happening on both Mac and Windows.
>
> Regards,
>
> Grant Limberg
>
>
> [email protected]
> http://www.cedrus.com/
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


-- 
Build engineering training: http://ci-guys.com/training.php

------------------------------------------------------------------------------

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
unknown.gif (image/gif, 2.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.