Gemini 3.5 + SVN hooks 3.5 integration fails
We just upgraded Gemini to 3.5 from 3.1 and it mostly went smoothly, until I tried to upgrade the SVN integration piece to the 3.5 version. Sorry if this is a dupe, but the hook appears to be failing earlier in the process than the other posts.
The debugger says
[2904] CounterSoft Gemini: Main
[2904] CounterSoft Gemini: Argument: pre-commit
[2904] CounterSoft Gemini: Argument: C:\Repository
[2904] CounterSoft Gemini: Argument: 2413-bm
[2904] CounterSoft Gemini: Constructing Service Manager.
[2904] CounterSoft Gemini: Constructed Service Manager.
[2904] CounterSoft Gemini: Gemini Username: svn_checkin
(transaction log ends here...)
Tortoise reports an unhandled exception in the pre-commit phase
Command: Commit
Modified: C:\Projects\rjh\VDR\com.weldoninc.PC.VDR.Viewer\view\FormVDRMain.cs
Sending content: C:\Projects\rjh\VDR\com.weldoninc.PC.VDR.Viewer\view\FormVDRMain.cs
Error: Commit failed (details follow):
Error: Commit blocked by pre-commit hook (exit code -532459699) with output:
Error:
Error: Unhandled Exception: System.Xml.XmlException: '100' is an unexpected token. The
Error: expected token is '"' or '''. Line 20, position 74.
Error: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
Error: at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
Error: at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1,
Error: String expectedToken2)
Error: at System.Xml.XmlTextReaderImpl.ParseAttributes()
Error: at System.Xml.XmlTextReaderImpl.ParseElement()
Error: at System.Xml.XmlTextReaderImpl.ParseElementContent()
Error: at System.Xml.XmlTextReaderImpl.Read()
Error: at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
Error: at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
Error: at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
Error: at System.Xml.XmlDocument.Load(XmlReader reader)
Error: at System.Xml.XmlDocument.Load(Stream inStream)
Error: at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream)
Error: at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromReponse[T](Stream stream)
Error: at
Error: CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response)
Error: at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url,
Error: Object obj, RequestType requestType)
Error: at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()
Error: at CounterSoft.Gemini.SourceControl.SVN.Program.Main(String[] args)
Finished!:
When I look at the source for the SVN handler, I see that it appears to be failing here
(Program.cs:Line 120)
DiagnosticsManager.TraceMessage("Gemini Logged in user: " + GeminiServiceManager.UsersService.WhoAmI().UserName);
The only thing I can figure is that Gemini is returning some kind of an XML response that is not well understood (the reference to line 20 position 74?), but I'm not entirely sure how to examine the response and debug it in VisualStudio. If I switch the hook stuff back to use the 3.1 binaries (still using Gemini server 3.5) it works roughly as expected (at least, it works like it did).
thanks!
-rj
horatio
· 1 |
|
Monday, June 22, 2009, 8:32:13 PM |