[Mono-winforms-list] Error starting an Application

Peter Dennis Bartok peter at novonyx.com
Fri Mar 17 01:17:58 EST 2006


To build the whole thing you need to download both mono and mcs and fully go 
through mono/autogen.sh once. After that, you can just update 
mcs/class/Managed.Windows.Forms and say 'make && make install' in there.

Here's the link for docs on how to build mono from source: 
http://www.mono-project.com/Compiling_Mono (be sure to use the 
mono.myrealbox.com anonymous repository)

If that's too big a deal (which I could understand), I can upload a new 
pre-compiled dll later tonight or tomorrow and you can just 'gacutil -i' 
that.
Right now i've got so much debug in the code, you wouldn't want to run that 
:-)

Cheers,
  Peter

-----Original Message-----
From: "Jeffrey Haynes" <Jeffrey.Haynes at Sun.COM>
To: "Peter Dennis Bartok" <peter at novonyx.com>
Cc: <mono-winforms-list at lists.ximian.com>
Date: Thursday, 16 March, 2006 23:11
Subject: Re: [Mono-winforms-list] Error starting an Application


>OK Thanks.
>
>I have retrieved the winforms source and built it. But how do I install it? 
>Can
>I build an rpm or some othe kind of install package?
>I apologize if this is a FAQ... I did't see an answer on the web site.
>
>Thanks,
>
>Jeff
>
>Peter Dennis Bartok wrote:
>> Jeffrey,
>>
>> For Winforms you should use svn head. It's still under heavy development 
>> and
>> I actually fixed this particular crash a few days ago. (I didn't run into 
>> it
>> with XJS, so I don't know if XJS runs or what is even is, but you should 
>> get
>> further with MWF from svn head)
>>
>> Cheers,
>>  Peter
>>
>> -----Original Message-----
>> From: "Jeffrey Haynes" <Jeffrey.Haynes at Sun.COM>
>> To: <mono-winforms-list at lists.ximian.com>
>> Date: 16 March, 2006 20:46
>> Subject: [Mono-winforms-list] Error starting an Application
>>
>>
>>> I am attempting to run XJS Journal System in Fedora Core 4
>>> (2.6.15-1.1833_FC4) with latest mono:
>>> $ rpm -qa | grep mono
>>> mono-core-1.1.13.4-0.novell
>>> mono-basic-1.1.13.4-0.novell
>>> mono-locale-extras-1.1.13.4-0.novell
>>> mod_mono-1.1.13-0.fedora4.novell
>>> mono-jscript-1.1.13.4-0.novell
>>> mono-data-oracle-1.1.13.4-0.novell
>>> mono-web-1.1.13.4-0.novell
>>> mono-devel-1.1.13.4-0.novell
>>> mono-data-sybase-1.1.13.4-0.novell
>>> mono-data-sqlite-1.1.13.4-0.novell
>>> monodevelop-0.9-2.novell
>>> mono-winforms-1.1.13.4-0.novell
>>> mono-data-firebird-1.1.13.4-0.novell
>>> mono-nunit-1.1.13.4-0.novell
>>> mono-tools-1.1.11-0.novell
>>> mono-extras-1.1.13.4-0.novell
>>> mono-data-postgresql-1.1.13.4-0.novell
>>> monodoc-core-1.1.13-0.novell
>>> mono-data-1.1.13.4-0.novell
>>> mono-complete-1.1.13.4-0.novell
>>>
>>>
>>> I must not have something installed correctly because I always get the
>>> following error when I try to start XJS-Desktop:
>>> $ mono XJS-Desktop.exe
>>> Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6
>>> 14:35:24]
>>> Keyboard: United States keyboard layout (phantom key version)
>>> Gtk colorscheme read
>>>
>>> Unhandled Exception: System.NullReferenceException: Object reference not
>>> set to an instance of an object
>>> in <0x00129> System.Windows.Forms.XplatUIX11:SetZOrder (IntPtr handle,
>>> IntPtr after_handle, Boolean top, Boolean bottom)
>>> in <0x00022> System.Windows.Forms.XplatUI:SetZOrder (IntPtr handle,
>>> IntPtr AfterhWnd, Boolean Top, Boolean Bottom)
>>> in <0x00113> System.Windows.Forms.Control:SendToBack ()
>>> in (wrapper remoting-invoke-with-check)
>>> System.Windows.Forms.Control:SendToBack ()
>>> in <0x00031> Xjs.Core.Forms.FormSplash:SetExtra (SplashDetails newExtra)
>>> in (wrapper remoting-invoke-with-check)
>>> Xjs.Core.Forms.FormSplash:SetExtra (Xjs.Core.Forms.SplashDetails)
>>> in <0x00084> Xjs.Core.Static:LoadPlugins (System.IO.DirectoryInfo
>>> PluginLocation)
>>> in <0x00290> XjsDesktop.StartXjs:Main (System.String[] args)
>>>
>>>
>>> Any hints?
>>>
>>> Seems to be something missing, but I don't know what.
>>>
>>> Thanks for any feedback.
>>>
>>> Jeff Haynes
>>>
>>>
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 



More information about the Mono-winforms-list mailing list