[Gtk-sharp-list] Gtk.Toolbar broken?

Pablo Baena pbaena@uol.com.ar
20 Oct 2002 05:37:10 +0000


--=-FDawCgVtrRUFp5CuFvCG
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

gtk-sharp/sample/test/TestToolbar crashes when run, screaming:

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in <0x00073> 00 GLib.Object:GetObject (intptr)
in <0x00077> 00 Gtk.Toolbar:InsertStock
(string,string,string,Gtk.SignalFunc,intptr,int)
in <0x000e4> 00 WidgetViewer.TestToolbar:Create ()
in <0x00007> 00 WidgetViewer.Viewer:Toolbar (object,System.EventArgs)
in <0x00079> 01 System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x00160> 00 GtkSharp.Gtk.voidObjectSignal:voidObjectCallback
(intptr,int)
in <0x00022> 05 GtkSharp.Gtk.voidObjectSignal:voidObjectCallback
(intptr,int)
in (unmanaged) 06 Gtk.Application:gtk_main ()
in <0x00004> 06 Gtk.Application:gtk_main ()
in <0x00c70> 00 WidgetViewer.Viewer:Main ()


This is with mono/mcs/gtk-sharp from cvs.
Cheers!
Pablo

--=-FDawCgVtrRUFp5CuFvCG
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
gtk-sharp/sample/test/TestToolbar crashes when run, screaming:
<BR>

<BR>
Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required
<BR>
in &lt;0x00073&gt; 00 GLib.Object:GetObject (intptr)
<BR>
in &lt;0x00077&gt; 00 Gtk.Toolbar:InsertStock (string,string,string,Gtk.SignalFunc,intptr,int)
<BR>
in &lt;0x000e4&gt; 00 WidgetViewer.TestToolbar:Create ()
<BR>
in &lt;0x00007&gt; 00 WidgetViewer.Viewer:Toolbar (object,System.EventArgs)
<BR>
in &lt;0x00079&gt; 01 System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
<BR>
in &lt;0x00160&gt; 00 GtkSharp.Gtk.voidObjectSignal:voidObjectCallback (intptr,int)
<BR>
in &lt;0x00022&gt; 05 GtkSharp.Gtk.voidObjectSignal:voidObjectCallback (intptr,int)
<BR>
in (unmanaged) 06 Gtk.Application:gtk_main ()
<BR>
in &lt;0x00004&gt; 06 Gtk.Application:gtk_main ()
<BR>
in &lt;0x00c70&gt; 00 WidgetViewer.Viewer:Main ()
<BR>

<BR>

<BR>
This is with mono/mcs/gtk-sharp from cvs.
<BR>
Cheers!
<BR>
Pablo
</BODY>
</HTML>

--=-FDawCgVtrRUFp5CuFvCG--