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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=439909#c6


Hubert FONGARNAND <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|INVALID                                         |




--- Comment #6 from Hubert FONGARNAND <[EMAIL PROTECTED]>  2008-11-04 02:24:52 
MST ---
Hi, i've caught the real problem we have :

Please test this now :

using System;
using System.Web;
using System.Web.UI;
using System.IO;


namespace TestExecute
{


        public class Default : Page
        {


                protected override void OnLoad(System.EventArgs e)
                {
                        try{
                                Plante2("boom");
                        }catch 
                        {
                                throw ;
                        }


                }

                public void Execute(string message)
                {
                        try
                        {
                                throw new Exception(message);
                        }

                        catch 
                        {
                                throw; 
            }

                }

                private void Plante2(string message)
                {
                        Console.WriteLine("Throwing exception :"+message);
                        Execute(message);
                }

        }
}


Mono stacktrace is : 
boom

Description: HTTP 500. Error processing request.

Stack Trace:

System.Exception: boom
  at TestExecute.Default.Execute (System.String message) [0x00000] in
/home/hubert/Projects/TestExecute/TestExecute/Default.aspx.cs:32 

MS.NET stacktrace is :

[Exception: boom]

   TestException.Default.Execute(String message) in
c:\inetpub\wwwroot\testexception\default.aspx.cs:36

   TestException.Default.Plante2(String message) in
c:\inetpub\wwwroot\testexception\default.aspx.cs:44

   TestException.Default.OnLoad(EventArgs e) in
c:\inetpub\wwwroot\testexception\default.aspx.cs:24

   System.Web.UI.Control.LoadRecursive() +35

   System.Web.UI.Page.ProcessRequestMain() +731


The problem appears when there's more than one try/catch block
I reproduce it with mono svn, 1.9 and 2.0 (branches)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to