[Mono-bugs] [Bug 325865] Unhandled Exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 18 07:22:22 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=325865#c5





--- Comment #5 from Eric Petit <surfzoid2002 at yahoo.fr>  2007-09-18 05:22:22 MST ---
more infos:
the "disconect" sub i post in first is called by the toolstripmenuitem like
this :
        void ToolStripMenuItemdisconectClick(object sender, EventArgs e)

        {

                        Disconnect();

        }

if i add a try catch like this :
        void ToolStripMenuItemdisconectClick(object sender, EventArgs e)

        {

                        try

            {
                                Disconnect();
                                            }

            catch (Exception Ex)

            {



                Console.WriteLine(Ex.Message + Environment.NewLine +
Ex.StackTrace);

            }

        }
My prog doesn't crash anymore (of course lol) but i already have a error with
less infos :
Invalid IL code in CsObexFtp.MainForm:Disconnect (): IL_0135: stelem.ref


  at CsObexFtp.MainForm.ToolStripMenuItemdisconectClick (System.Object sender,
System.EventArgs e) [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.
You are the assignee for the bug.


More information about the mono-bugs mailing list