[Gtk-sharp-list] I can make it crash!

Philip Van Hoof spam at pvanhoof.be
Wed Jan 30 05:05:05 EST 2008


By adapting the INCLUDE_API to contain the -api.xml files of libraries
where this one depends on, the crash no longer happens.

So this seems to be related to the dependencies (I noticed this as I was
reading the "implements unknown GInterface TnyBlaBla")


On Wed, 2008-01-30 at 10:20 +0100, Philip Van Hoof wrote:
> This looks like a bug in the code generator ;)
> 
> 
>         /opt/gtk-sharp/bin//gapi2-codegen --generate libtinymail-camel-api.xml \
>                 \
>         --outdir=generated --customdir=. --assembly-name=libtinymail-camel-sharp        \
>         && touch generated-stamp
> Name: auth_types Type: TnyList*  in callback TnyCamelGetSupportedSecureAuthCallback
> Tny.Camel.TnyCamelAccount implements unknown GInterface TnyAccount
> Tny.Camel.TnyCamelBsMimePart implements unknown GInterface TnyMimePart
> Tny.Camel.TnyCamelBsMsg implements unknown GInterface TnyMsg
> Tny.Camel.TnyCamelBsMsgReceiveStrategy implements unknown GInterface TnyMsgReceiveStrategy
> Tny.Camel.TnyCamelDefaultConnectionPolicy implements unknown GInterface TnyConnectionPolicy
> Tny.Camel.TnyCamelFolder implements unknown GInterface TnyFolderStore
> Tny.Camel.TnyCamelFullMsgReceiveStrategy implements unknown GInterface TnyMsgReceiveStrategy
> Tny.Camel.TnyCamelMimePart implements unknown GInterface TnyMimePart
> Tny.Camel.TnyCamelMsg implements unknown GInterface TnyMsg
> Tny.Camel.TnyCamelMsgRemoveStrategy implements unknown GInterface TnyMsgRemoveStrategy
> Tny.Camel.TnyCamelPartialMsgReceiveStrategy implements unknown GInterface TnyMsgReceiveStrategy
> Tny.Camel.TnyCamelPopRemoteMsgRemoveStrategy implements unknown GInterface TnyMsgRemoveStrategy
> Tny.Camel.TnyCamelRecoverConnectionPolicy implements unknown GInterface TnyConnectionPolicy
> Tny.Camel.TnyCamelSendQueue implements unknown GInterface TnyFolderObserver
> Tny.Camel.TnyCamelStoreAccount implements unknown GInterface TnyFolderStore
> Tny.Camel.TnyCamelStream implements unknown GInterface TnyStream
> Tny.Camel.TnyCamelTransportAccount implements unknown GInterface TnyTransportAccount
> Name: account_store Type: TnyAccountStore* in tny_session_camel_new in type Tny.Camel.TnySessionCamel
> 
> Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required.
>   at GtkSharp.Generation.ClassBase.GetMethodRecursively (System.String name, Boolean check_self) [0x00000] 
>   at GtkSharp.Generation.ClassBase.GetMethodRecursively (System.String name, Boolean check_self) [0x00000] 
>   at GtkSharp.Generation.ClassBase.GetMethodRecursively (System.String name) [0x00000] 
>   at GtkSharp.Generation.Method.GenerateDeclCommon (System.IO.StreamWriter sw, GtkSharp.Generation.ClassBase implementor) [0x00000] 
>   at GtkSharp.Generation.Method.Generate (GtkSharp.Generation.GenerationInfo gen_info, GtkSharp.Generation.ClassBase implementor) [0x00000] 
>   at GtkSharp.Generation.ClassBase.GenMethods (GtkSharp.Generation.GenerationInfo gen_info, System.Collections.Hashtable collisions, GtkSharp.Generation.ClassBase implementor) [0x00000] 
>   at GtkSharp.Generation.ObjectGen.Generate (GtkSharp.Generation.GenerationInfo gen_info) [0x00000] 
>   at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x00000] 
> make[2]: *** [generated-stamp] Error 1
> make[2]: Leaving directory `/home/pvanhoof/repos/tinymail/trunk/bindings/dotnet/camel'
-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be






More information about the Gtk-sharp-list mailing list