[Mono-bugs] [Bug 499630] NullReferenceException when constructing PageSetupDialog

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 13 07:44:03 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=499630

http://bugzilla.novell.com/show_bug.cgi?id=499630#c3


Arsen Shnurkov <Arsen.Shnurkov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Arsen.Shnurkov at gmail.com

--- Comment #3 from Arsen Shnurkov <Arsen.Shnurkov at gmail.com> 2009-12-13 12:43:55 UTC ---
I have similar error with Gentoo linux and example from
http://anonsvn.mono-project.com/viewvc/trunk/winforms/printing/swf-printing.cs?view=markup

Version of mono runtime is 
[ebuild   R   ] dev-lang/mono-2.4.2.3  USE="moonlight -minimal -xen" 0 kB

System.NullReferenceException: Object reference not set to an instance of an
object
at System.Windows.Forms.PageSetupDialog.get_UseYardPound () [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:457
at System.Windows.Forms.PageSetupDialog.LocalizedLengthUnit () [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/build/common/Consts.cs:1
at System.Windows.Forms.PageSetupDialog.InitializeComponent () [0x0057f] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:329
at System.Windows.Forms.PageSetupDialog..ctor () [0x00012] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:84
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.PageSetupDialog:.ctor ()
at print_tester.Form1.filePageSetupMenuItem_Click (System.Object sender,
System.EventArgs e) [0x00000] in /home/wiwar/Projects/test/nalogus/main.cs:1
at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x0001c] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:612
at System.Windows.Forms.MenuItem.PerformClick () [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:654
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MenuItem:PerformClick ()
at System.Windows.Forms.MenuTracker.OnMouseUp
(System.Windows.Forms.MouseEventArgs args) [0x000e3] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:262
at System.Windows.Forms.Control.ProcessActiveTracker
(System.Windows.Forms.Message& m) [0x000b5] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:1390
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x0001b] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5583
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x0017c] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5332
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:807
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message&
m) [0x0003d] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs:642
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
[0x00166] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2603
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:234
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:215
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00085] in
/var/tmp/portage/dev-lang/mono-2.4.2.3/work/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242

-- 
Configure bugmail: http://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