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

Grant Limberg <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
I did try running it from the command line and it worked absolutely  
fine.    Here's the output:

<?xml version="1.0"?>
<log>
	<logentry revision="793">
		<author>kjones</author>
		<date>2009-04-02T21:52:25.208932Z</date>
		<paths>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/TinyLicenserObjectBuilderFactoryLogic.cpp</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/LSConcretePreferencesProviderFileBased.cpp</ 
path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/TinyLicenserObjectBuilderFactoryLogic.h</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/LSConcretePreferencesProviderFileBased.h</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/app_console.cpp</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/abstract_interfaces/ 
Interface_PreferencesProvider.h</path>
		</paths>
		<msg>applying better "const" semantics to the preference file class</ 
msg>
	</logentry>
	<logentry revision="794">
		<author>kjones</author>
		<date>2009-04-02T22:52:56.059163Z</date>
		<paths>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/GUIMonitorFrame.cpp</ 
path>
			<path kind="" action="M">/licenser/trunk/Licenser/build/win32-msvc8/ 
GUIMonitorForTinyDaemon.vcproj</path>
			<path kind="" action="M">/licenser/trunk/Licenser/build/win32-msvc8/ 
Unit_Test_Build_Materials/ 
TestForDaemonTinyServer_linkerOptions.vsprops</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/EnhancedGrid.cpp</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/ 
GUIMonitorForTinyDaemon.cpp</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/GUIMonitorFrame.h</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/EnhancedGrid.h</path>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/GUIMonitorForTinyDaemon/ 
GUIMonitorForTinyDaemon.h</path>
		</paths>
		<msg>more leak detection and leak elimination</msg>
	</logentry>
	<logentry revision="795">
		<author>kjones</author>
		<date>2009-04-02T23:06:59.741477Z</date>
		<paths>
			<path kind="" action="M">/licenser/trunk/Licenser/src/ 
TinyLicenseServerDaemon/ProcessPoolManager.cpp</path>
		</paths>
		<msg>more leak fixing</msg>
	</logentry>
</log>

Grant Limberg



[email protected]
http://www.cedrus.com/



On Apr 3, 2009, at 11:55 PM, Jeffrey Fredrick wrote:

>
> 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
>
> <unknown.gif>
>
> [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

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

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
PGP.sig (application/pgp-signature, 195 B) - 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.