[Mono-bugs] [Bug 80480][Min] New - WebService Trace details always throws a NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 8 18:46:34 EST 2007

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 j.heidenkamp at web.de.


--- shadow/80480	2007-01-08 18:46:34.000000000 -0500
+++ shadow/80480.tmp.31898	2007-01-08 18:46:34.000000000 -0500
@@ -0,0 +1,73 @@
+Bug#: 80480
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: opensuse 10.1, rpm build from go-mono.com repo
+Status: NEW   
+Priority: Minor
+Component: debug
+AssignedTo: martin at ximian.com                            
+ReportedBy: j.heidenkamp at web.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: WebService Trace details always throws a NullReferenceException
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+ViewDetails in Trace.axd file always throw an NullReferenceException when 
+try to trace a webservice.
+Using this sample code:
+<% @WebService Class="Test" Language="C#" %>
+using System.Web.Services;
+using System.Web.Services.Protocols;
+using System;
+public class Test: WebService{
+    [WebMethod]
+    public void test(){
+        throw new Exception("just an exception");
+    }
+Steps to reproduce the problem:
+1. use above sample code and call webservice
+2. open Trace.axd
+3. try to click ViewDetails for a trace
+Actual Results:
+NullReferenceException is thrown:
+Stack Trace: System.NullReferenceException: Object reference not set to an 
+instance of an object
+  at System.Web.TraceData.RenderControlTree (System.Web.UI.HtmlTextWriter 
+output) [0x00000] 
+  at System.Web.TraceData.Render (System.Web.UI.HtmlTextWriter 
+output) [0x00000] 
+  at System.Web.Handlers.TraceHandler.RenderItem (System.Web.TraceManager 
+manager, System.Web.UI.HtmlTextWriter output, Int32 item) [0x00000] 
+  at 
+(System.Web.HttpContext context) [0x00000] 
+  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext 
+() [0x00000] 
+Expected Results:
+get tracing information
+How often does this happen? 
+Additional Information:
+tested on default suse 10.1 mono rpm AND rpm from go-mono.com repo

More information about the mono-bugs mailing list