[Gtk-sharp-list] Gapi2 Exception
Alejandro Serrano
trupill at yahoo.es
Sun Jan 20 10:44:14 EST 2008
Hi,
I'm trying to produce bindings for the GooCanvas widget. After doing
some efforts reordering the source code from GooCanvas, I've came to the
moment of generating the code based on the api file. However, when I run
gapi2-codegen, I get the following exception:
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required.
at GtkSharp.Generation.Property.Generate
(GtkSharp.Generation.GenerationInfo gen_info, System.String indent,
GtkSharp.Generation.ClassBase implementor) [0x00000]
at GtkSharp.Generation.ClassBase.GenProperties
(GtkSharp.Generation.GenerationInfo gen_info,
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]
Can I do something for successfully generating the C# code?
Thanks in advance,
Alejandro
PS: I attach the file I want to generate the code from.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: goocanvas.gapi.gz
Type: application/x-gzip
Size: 7806 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080120/77be6c27/attachment-0001.gz
More information about the Gtk-sharp-list
mailing list