[Mono-bugs] [Bug 343223] New: [XP64] 1.2.6 Preview 2 can't start a form
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Nov 21 05:20:58 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=343223
Summary: [XP64] 1.2.6 Preview 2 can't start a form
Product: Mono: Class Libraries
Version: 1.2.6
Platform: x86-64
OS/Version: Windows XP
Status: NEW
Severity: Blocker
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
Starting a form from a Visual studio app:
static class Program
{
[STAThread]
static void Main()
{
Application.Run(new Form());
}
}
Causes the following under XP64:
>mono --debug SimpleForm.exe
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for
System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.NullReferenceException: Object reference not set to an instance of an
object
at (wrapper native-to-managed)
System.Windows.Forms.XplatUIWin32.InternalWndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00000>
at (wrapper managed-to-native)
System.Windows.Forms.XplatUIWin32.Win32CreateWindow
(System.Windows.Forms.WindowExStyles,string,string,System.Windows.Forms.WindowStyles,int,int,int,int,intptr,intptr,intptr,intptr)
<0x00004>
at System.Windows.Forms.XplatUIWin32.CreateWindow
(System.Windows.Forms.CreateParams) [0x000a1] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:1588
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\XplatUI.cs:450
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) [0x0000c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:112
at System.Windows.Forms.Control.CreateHandle () [0x0003f] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4222
at System.Windows.Forms.Control.CreateControl () [0x00044] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3588
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.CreateControl () <0x00038>
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x0000a]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\WindowsFormsSynchronizationContext.cs:47
--- End of inner exception stack trace ---
at System.Windows.Forms.Control..ctor () [0x0000d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:983
at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ScrollableControl.cs:222
at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs:52
at System.Windows.Forms.Form..ctor () [0x00007] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.6\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Form.cs:375
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:.ctor ()
at SimpleForm.Program.Main () [0x00000]
--
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