[Mono-winforms-list] Object reference not set to an instance of an object at System.Windows.Forms.XEventQueue+PaintQueue.Dequeue ()
Joao Paulo Rodrigues
jpr at xarevision.pt
Sat Feb 26 12:23:32 EST 2011
Hi All
I'm trying to port a C# application to MONO at Linux.
All is working now (better than in windows) except for the ocasional crash
at: System.Windows.Forms.XEventQueue+PaintQueue.Dequeue () .
(Complete Stack trace bellow).
The nature of the application makes this a terrible problem, because the
error is only catchable outside of the form (main thread), so I have no
option but to terminate the aplication.
Can't figure out what the cause can be. All reports of this on the
Internet appear has bugs, with no corrections indicated.
Can anyone help?
I'm running Ubuntu 10.04 kernel 2.6.32-28 and Mono 2.6.7-3 ubuntu1~dh from
badgerPorts
Thanks in advance for any help.
Program Error:Object reference not set to an instance of an object
at System.Windows.Forms.XEventQueue+PaintQueue.Dequeue () [0x00000] in
<filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32
wFilterMax) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32
wFilterMax) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] in <filename unknown>:0
at Xarevision.Program.Main () [0x00000] in <filename unknown>:0
or
Program Error:List has changed.
at System.Collections.ArrayList+SimpleEnumerator.MoveNext () [0x00000]
in <filename unknown>:0
at System.Windows.Forms.XEventQueue+PaintQueue.Dequeue () [0x00000] in
<filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32
wFilterMax) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32
wFilterMax) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] in <filename unknown>:0
at Xarevision.Program.Main () [0x00000] in <filename unknown>:0
__________________________________________________
João Paulo Rodrigues
XAREVISION Lda. Url: www.xarevision.pt
R. Dr Roberto Frias 378 E-mail: jpr at xarevision.pt
4200 - 465 Porto Tel.: + 351 22 2094065
Mobile: + 351 93 3206764
Fax: + 351 22 2094246
More information about the Mono-winforms-list
mailing list