[Mono-winforms-list] Error when showing message boxes
Bimal.Delhi
bimal_gkp at hotmail.com
Thu Aug 20 09:01:33 EDT 2009
Hello
I've an appliction in which i'm displaying around 10 messageboxes one after
another. after displaying some message boxes i get an exception and
application closes.
OS :MAC Os Leopard
Mono: 2.4.3
Solution compiled on .net 2.0
?2009-08-20 18:53:38.137 -mono[1282:30b] *** Exception handlers were not
properly removed. Some code has jumped or returned out of an
NS_DURING...NS_HANDLER region without using the NS_VOIDRETURN or
NS_VALUERETURN macros.
Stacktrace:
at (wrapper managed-to-native)
System.Windows.Forms.XplatUICarbon.HIViewSetFrame
(intptr,System.Windows.Forms.CarbonInternal.HIRect&) <0x00004>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUICarbon.HIViewSetFrame
(intptr,System.Windows.Forms.CarbonInternal.HIRect&) <0xffffffff>
at System.Windows.Forms.XplatUICarbon.CreateWindow
(System.Windows.Forms.CreateParams) <0x00a28>
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) <0x0001d>
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) <0x00030>
at System.Windows.Forms.Control.CreateHandle () <0x0007f>
at System.Windows.Forms.Form.CreateHandle () <0x00014>
at System.Windows.Forms.Control.CreateControl () <0x0008a>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00077>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x0021d>
at System.Windows.Forms.Control.set_Visible (bool) <0x0002c>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x001f9>
at System.Windows.Forms.Form.ShowDialog
(System.Windows.Forms.IWin32Window) <0x00331>
at System.Windows.Forms.Form.ShowDialog () <0x00012>
at System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0x0006e>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () <0xffffffff>
at System.Windows.Forms.MessageBox.Show
(string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon,System.Windows.Forms.MessageBoxDefaultButton,System.Windows.Forms.MessageBoxOptions)
<0x0004a>
at Microsoft.VisualBasic.Interaction.MsgBox
(object,Microsoft.VisualBasic.MsgBoxStyle,object) <0x001ff>
at Interactive.Utilities.Communication.Receiver.AvailableReceivers ()
<0x002c7>
at TestingInterface.MainForm.FillPortList () <0x00048>
at (wrapper remoting-invoke-with-check)
TestingInterface.MainForm.FillPortList () <0xffffffff>
at TestingInterface.MainForm.frmMain_Load (object,System.EventArgs)
<0x0002b>
at System.Windows.Forms.Form.OnLoad (System.EventArgs) <0x00063>
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs) <0x0007e>
at System.Windows.Forms.Form.OnCreateControl () <0x00051>
at System.Windows.Forms.Control.CreateControl () <0x0012e>
at System.Windows.Forms.Control.WmShowWindow
(System.Windows.Forms.Message&) <0x0010e>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&)
<0x00293>
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message&) <0x00013>
at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message&) <0x00051>
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&)
<0x00227>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage
(System.Windows.Forms.Message&) <0x0001d>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc
(System.Windows.Forms.Message&) <0x0002d>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x001e7>
at System.Windows.Forms.XplatUICarbon.SendMessage
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00016>
at System.Windows.Forms.XplatUICarbon.CreateWindow
(System.Windows.Forms.CreateParams) <0x00f9d>
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) <0x0001d>
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) <0x00030>
at System.Windows.Forms.Control.CreateHandle () <0x0007f>
at System.Windows.Forms.Form.CreateHandle () <0x00014>
at System.Windows.Forms.Control.CreateControl () <0x0008a>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x00077>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x0021d>
at System.Windows.Forms.Control.set_Visible (bool) <0x0002c>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x001f9>
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) <0x00052>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
<0x00033>
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun
() <0x00063>
at
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run
(string[]) <0x00016>
at TestingInterface.My.MyApplication.Main (string[]) <0x0003d>
at (wrapper runtime-invoke)
TestingInterface.My.MyApplication.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>
--
View this message in context: http://www.nabble.com/Error-when-showing-message-boxes-tp25061584p25061584.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list
mailing list