[Mono-bugs] [Bug 62591][Nor] Changed - Web services client crashes

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 24 Aug 2004 18:09:32 -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 ivoras@fer.hr.

http://bugzilla.ximian.com/show_bug.cgi?id=62591

--- shadow/62591	2004-08-24 11:06:07.000000000 -0400
+++ shadow/62591.tmp.9433	2004-08-24 18:09:32.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 62591
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: Same behaviour on WinXP and FreeBSD
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Web.Services
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: ivoras@fer.hr               
@@ -61,6 +61,52 @@
 ------- Additional Comments From lluis@ximian.com  2004-08-24 07:43 -------
 Can you provide an URL of a service that fails?
 The WSDL document that describes the service would be also useful.
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-24 11:06 -------
 Please reopen when you give the info lluis asked for
+
+------- Additional Comments From ivoras@fer.hr  2004-08-24 18:09 -------
+Here it is:
+http://geri.cc.fer.hr/~ivoras/test/soap/srv1.php?wsdl
+(the service itself is the above URL without "?wsdl")
+
+It's a test PHP (PEAR-SOAP) service, pretty straight-forward, with
+only a few methods declared. The service in question works with e.g.
+Java (Apache Axis) and Python (SOAPpy) without problems (always with
+WSDL), and, as I reported, also works flawlessly with MS .NET
+interpreter, but fails (with the same executable!) with Mono.
+
+I ran these steps:
+1)
+wsdl http://geri.cc.fer.hr/~ivoras/test/soap/srv1.php?wsdl
+[ this created SOAP_TestService.cs ]
+
+2) 
+[created Svc.cs file containing:]
+----
+class Svc {
+        public static void Main() {
+                SOAP_TestService svc = new SOAP_TestService();
+                svc.adder(1,2);
+        }
+}
+----
+
+3)
+mcs -r System.Web.Services Svc.cs SOAP_TestService.cs
+[ this created Svc.exe ]
+
+4)
+mono Svc.exe
+
+results in:
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to
+an instance of an object
+in <0x000ac> SOAP_TestService:adder (int,int)
+in <0x00035> Svc:Main ()
+
+=====
+For what it's worth, I got the same fatal error many times while
+running Gtk# demos both on Win32 and FreeBSD.
+