[mono-vb] Running VB-Applications compiled with VB.NET (Express Edition) causes many crashes!

Rolf Bjarne Kvinge rolflists at ya.com
Tue May 12 03:26:14 EDT 2009


Hi,

> How can I get the line of code with the Error. I have made a version of
> my program for Mono, but I have many crashes, but I often don't find the
> crashes, because there is no debug information in the Mono-Error
> Message (I started with option --debug!).

How did you compile it?

Rolf

> 
> Here is my latest Error Message:
> 
> frmMain.initTreeview oldkeyensurevisible
> frmMain.tvMed_AfterExpand Start
> frmMain.tvMed_AfterExpand Expand Data
> Source=G:\Repetit.Net.T.SQLITE\bin\Datenba
> nk\RepLite.sqlite;Version=3;
> Init Treeview lasted: 0,150000000001455 Seconds!
> frmMain.tvMed_BeforeSelect Start
> frmMain.Form_Activate Start
> frmSymptome AutoSelect InitTreeview frmMain BySQL finished
> frmSymptome AutoSelect finished
> frmSymptome.tvSympt_AfterCheck Finished
> System.NullReferenceException: Object reference not set to an instance
> of an
> obj
> ect
>   at System.Windows.Forms.TreeNode.set_Checked (Boolean value)
> [0x00066] in
> C:\c
> ygwin\tmp\monobuild\build\BUILD\mono-
> 2.4\mcs\class\Managed.Windows.Forms\System.
> Windows.Forms\TreeNode.cs:319
>   at (wrapper remoting-invoke-with-check)
> System.Windows.Forms.TreeNode:set_Chec
> ked (bool)
>   at System.Windows.Forms.TreeView.MouseDownHandler (System.Object
> sender,
> Syste
> m.Windows.Forms.MouseEventArgs e) [0x0009a] in
> C:\cygwin\tmp\monobuild\build\BUI
> LD\mono-
> 2.4\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TreeView.cs:21
> 0
> 1
>   at (wrapper delegate-invoke)
> System.Windows.Forms.MouseEventHandler:invoke_voi
> d__this___object_MouseEventArgs
> (object,System.Windows.Forms.MouseEventArgs)
>   at System.Windows.Forms.Control.OnMouseDown
> (System.Windows.Forms.MouseEventAr
> gs e) [0x0001c] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Manage
> d.Windows.Forms\System.Windows.Forms\Control.cs:6354
>   at System.Windows.Forms.Control.WmLButtonDown
> (System.Windows.Forms.Message& m
> ) [0x0004f] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Wi
> ndows.Forms\System.Windows.Forms\Control.cs:5620
>   at System.Windows.Forms.Control.WndProc
> (System.Windows.Forms.Message& m)
> [0x0
> 0184] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows.
> Forms\System.Windows.Forms\Control.cs:5337
>   at System.Windows.Forms.TreeView.WndProc
> (System.Windows.Forms.Message& m)
> [0x
> 0006b] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\Managed.Windows
> .Forms\System.Windows.Forms\TreeView.cs:1198
>   at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
> (System.Windows.
> Forms.Message& m) [0x00000] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\
> class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:234
>   at System.Windows.Forms.Control+ControlNativeWindow.WndProc
> (System.Windows.Fo
> rms.Message& m) [0x00000] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\cl
> ass\Managed.Windows.Forms\System.Windows.Forms\Control.cs:215
>   at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
> IntPtr
> wPa
> ram, IntPtr lParam) [0x00085] in
> C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mc
> s\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:242
> frmMain.Form_Activate Start
> --
> View this message in context: http://www.nabble.com/Running-VB-
> Applications-compiled-with-VB.NET-%28Express-Edition%29-causes-many-
> crashes%21-tp23468970p23468970.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb



More information about the Mono-vb mailing list