[Mono-winforms-list] An annoying problem

Peter Dennis Bartok peter at novonyx.com
Thu Jun 9 13:42:30 EDT 2005


Please try running your app after setting the following env vars:
export MONO_LOG_LEVEL=debug
export MONO_LOG_MASK=dll

and post the debug output you get. This will tell us what libraries it's 
trying to load.


-----Original Message-----
From: "Matthias Felgner" <matthiasf at voelcker.com>
To: <Mono-winforms-list at lists.ximian.com>
Date: 09 June, 2005 02:22
Subject: AW: [Mono-winforms-list] An annoying problem


I did everything as suggested, still no luck, I'm stuck here with this 
Problem...System.DLLNotFoundException doesn't even tell me which dll was not 

On execution of any SWF App I get the following...can somebody please 
explain to me what is going on with this, and where the problem could be? I 
can't really follow the code in XPlatUI and XPlatUIX11...

Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for System.Windows.Forms.XplatUI ---> 
in (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads 
in <0x0006f> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0003f> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()--- End of inner 
exception stack trace ---

in <0x00000> <unknown method>
in <0x00049> System.Windows.Forms.Form:get_CreateParams ()
in <0x0022f> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x00010> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x00017> MWFTest.Form1:.ctor ()
in (wrapper remoting-invoke-with-check) MWFTest.Form1:.ctor ()
in <0x0001a> MWFTest.Form1:Main ()



-----Ursprüngliche Nachricht-----
Von: mono-winforms-list-bounces at lists.ximian.com 
[mailto:mono-winforms-list-bounces at lists.ximian.com] Im Auftrag von Peter 
Dennis Bartok
Gesendet: Mittwoch, 8. Juni 2005 22:54
An: Paul Johnson; winforms
Betreff: Re: [Mono-winforms-list] An annoying problem

Paul, et. al.,

Ben thinks he's got the right fix in svn now, so if you update from svn and
do the whole autogen/configure thing again, it should put the proper line
into the config file now.


-----Original Message-----
From: "Paul Johnson" <paul at all-the-johnsons.co.uk>
To: "winforms" <mono-winforms-list at lists.ximian.com>
Date: 08 June, 2005 08:42
Subject: [Mono-winforms-list] An annoying problem

>Whenever I try to run a program compiled against MWF, I keep getting the
>same error
>Unhandled Exception: System.TypeInitializationException: An exception
>was thrown by the initializer for System.Windows.Forms.XplatUI --->
>System.DllNotFoundException: libX11.so.6.2
>I know this has come up before and from what I remember when Miguel
>flagged it up was that there was a problem within XplatUI.
>Is there a work around or will XplatUI be getting fixed sometime in the
>not too distant future?
>"He's not the Messiah, he's a very naughty boy"
>- Life of Brian, Monty Python
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

More information about the Mono-winforms-list mailing list