[Mono-bugs] [Bug 58215][Wis] Changed - WSDL/Mono Bug

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 8 May 2004 11:52:34 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by latexer@gentoo.org.


--- shadow/58215	2004-05-07 19:38:42.000000000 -0400
+++ shadow/58215.tmp.12601	2004-05-08 11:52:34.000000000 -0400
@@ -54,6 +54,38 @@
 Almost everytime (it worked once)
 ------- Additional Comments From code_monkey@gooeylinux.org  2004-05-07 15:34 -------
 Created an attachment (id=7640)
 File in question
+------- Additional Comments From latexer@gentoo.org  2004-05-08 11:52 -------
+I've just run into this bug as well. Of note is that this only happens
+*some* of the time. In the same shell, i can literally run the
+command, hit the up arrow, and run it again; One will work fine, the
+next time it will fail miserably:
+peter@gonzo src $ !ws
+wsdl ./AmazonSearchService.wsdl
+Mono Web Services Description Language Utility
+Writing file 'AmazonSearchService.cs'
+peter@gonzo src $ wsdl ./AmazonSearchService.wsdl
+Mono Web Services Description Language Utility
+Writing file 'AmazonSearchService.cs'
+System.InvalidOperationException: The process must exit before getting
+the requested information.
+in <0x0007a> System.Diagnostics.Process:get_ExitCode ()
+in <0x00050> (wrapper remoting-invoke-with-check)
+System.Diagnostics.Process:get_ExitCode ()
+in <0x00239>
+in <0x00055> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFile
+in <0x0051c>
+System.Xml.Serialization.XmlSerializer:RunSerializerGenerationAux (object)
+in <0x0001b>
+System.Xml.Serialization.XmlSerializer:RunSerializerGeneration (object)
+Sounds like a race, where sometimes the exit code is being checked
+before the process in question has finished doing its stuff.