[Mono-bugs] [Bug 400482] New: Wrong exception thrown: TargetInvocationExc. instead of HttpUnhandledExc.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 16 05:45:39 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=400482


           Summary: Wrong exception thrown: TargetInvocationExc. instead of
                    HttpUnhandledExc.
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=222227)
 --> (https://bugzilla.novell.com/attachment.cgi?id=222227)
minimal testcase - webapp

Recipe:
=======
- extract attached web app
- cd webapp; xsp2
- request http://localhost:8080

=> exception, file "exc.txt" has been created

exc.txt on .NET:
================
System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.ApplicationException: Something went wrong.

   at ASP.index_aspx.Page_Load(Object o, EventArgs e) in
c:\Inetpub\wwwroot\test\index.aspx:line 4

   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o,
Object t, EventArgs e)

   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender,
EventArgs e)

   at System.Web.UI.Control.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   --- End of inner exception stack trace ---

   at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

   at ASP.index_aspx.ProcessRequest(HttpContext context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\test\08487438\3f64ba7e\App_Web_index.aspx.cdcab7d2.9cfjkvkj.0.cs:line 0

   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)

exc.txt on Mono:
================
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.ApplicationException: Something went
wrong.
  at ASP.index_aspx.Page_Load (System.Object o, System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] 
  at System.Web.UI.Control.LoadRecursive () [0x00000] 
  at System.Web.UI.Page.ProcessLoad () [0x00000] 
  at System.Web.UI.Page.ProcessPostData () [0x00000] 
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 
  --- End of inner exception stack trace ---
  at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000] 
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000] 
  at System.Web.HttpApplication+<>c__CompilerGenerated2.MoveNext () [0x00000] 
  at System.Web.HttpApplication.Tick () [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list