[Mono-bugs] [Bug 74302][Wis] New - Start C# programm on mac OS

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 1 Apr 2005 06:14:26 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by michael.haider@hofstaedtler.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74302

--- shadow/74302	2005-04-01 06:14:26.000000000 -0500
+++ shadow/74302.tmp.4947	2005-04-01 06:14:26.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 74302
+Product: Mono: Runtime
+Version: 1.0
+OS: 
+OS Details: Mac OS X Panther Version 10.3.8
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: michael.haider@hofstaedtler.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Start C# programm on mac OS
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Write a short programm in MS C# (Form and a button which makes a message box)
+2. Load the exe to the mac
+3. start the exe file
+
+Actual Results:
+Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type 
+initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not 
+open display (X-Server required. Check you DISPLAY environment variable)
+Parameter name: Display
+in <0x00798> System.Windows.Forms.XplatUIX11:SetDisplay (intptr)
+in <0x000e4> System.Windows.Forms.XplatUIX11:.ctor ()
+in <0x0006c> System.Windows.Forms.XplatUIX11:GetInstance ()
+in <0x00080> System.Windows.Forms.XplatUI:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) System.Windows.Forms.XplatUI:get_DefaultClassName ()
+in <0x00078> System.Windows.Forms.Form:get_CreateParams ()
+in <0x00074> System.Windows.Forms.Form:get_CreateParams ()
+in <0x002c8> System.Windows.Forms.Control:.ctor ()
+in <0x00028> System.Windows.Forms.ScrollableControl:.ctor ()
+in <0x00018> System.Windows.Forms.ContainerControl:.ctor ()
+in <0x0001c> System.Windows.Forms.Form:.ctor ()
+in <0x00020> Hello.Form1:.ctor ()
+in <0x00048> (wrapper remoting-invoke-with-check) Hello.Form1:.ctor ()
+in <0x0002c> Hello.Form1:Main ()
+
+
+
+Expected Results: no error
+
+
+How often does this happen? everytime
+
+
+Additional Information: Im using mono 1.1.5.