[Mono-bugs] [Bug 350546] New: Exception on trying to launch Windows Forms applications on Mac OS X 10.4

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 23 09:36:11 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=350546


           Summary: Exception on trying to launch Windows Forms applications
                    on Mac OS X 10.4
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: rafaelromao at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: Development


Description of Problem:

Exception on trying to launch Windows Forms applications on Mac OS X 10.4

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.DllNotFoundException: /usr/X11R6/lib/libX11.dylib

Steps to reproduce the problem:

1. Download and install Mono 1.2.6 on a Intel based MacBook.
2. Download MoMA 1.2.5.1
3. Try to launch the MoMA 1.2.5.1 using the command 'mono MoMA.exe'.

Actual Results:

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.XplatUI --->
System.DllNotFoundException: /usr/X11R6/lib/libX11.dylib
  at (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads
()
  at System.Windows.Forms.XplatUIX11..ctor () [0x00000] 
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] 
  at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner
exception stack trace ---

  at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] 
  at MoMA.Program.Main () [0x00000] 

Expected Results:

No exception thrown and the application successfully started.

How often does this happen? 

Always

Additional Information:

It has first occurred with a Windows Forms application I've developed in Visual
Studio 2005 and that has passed the MoMA compatibility test.


-- 
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