[Mono-bugs] [Bug 344012] New: Adding to LinkLabel Links collection causes NullReferenceException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 26 07:39:01 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=344012
Summary: Adding to LinkLabel Links collection causes
NullReferenceException
Product: Mono: Class Libraries
Version: 1.2.6
Platform: x86-64
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at ximian.com
ReportedBy: mark.lambert at nonlinear.com
QAContact: mono-bugs at ximian.com
Found By: Beta-Customer
I get a NullReferenceException with this stack trace:
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at Link.Invalidate () [0x00007] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:882
at Link.set_Focused (bool) [0x0000c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:864
at System.Windows.Forms.LinkLabel.Select (bool,bool) [0x0004b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\LinkLabel.cs:533
at System.Windows.Forms.Control.SelectNextControl
(System.Windows.Forms.Control,bool,bool,bool,bool) [0x00076] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4111
at System.Windows.Forms.Form.SelectActiveControl () [0x00030] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:253
at System.Windows.Forms.Form.WmActivate (System.Windows.Forms.Message&)
[0x0001d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2586
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&) [0x00100]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2408
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:225
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:206
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0006a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:188
at System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) [0x0002c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1886
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32ShowWindow
(intptr,System.Windows.Forms.XplatUIWin32/WindowPlacementFlags) <0x00004>
at System.Windows.Forms.XplatUIWin32.SetVisible (intptr,bool,bool) [0x00066] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:2144
at System.Windows.Forms.XplatUI.SetVisible (intptr,bool,bool) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:1020
at System.Windows.Forms.Control.SetVisibleCore (bool) [0x00060] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4776
at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00071] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:2333
at System.Windows.Forms.Control.set_Visible (bool) [0x0000c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3260
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x0004f>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) [0x00059] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:731
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext) [0x00014] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:630
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x00000]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:618
at LinkLabelX.Form1.Main () <0x0002c>
--
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