GNOME Bugzilla – Bug 638298
yet another intptr ctor issue with SourceRowRenderer
Last modified: 2010-12-30 10:09:24 UTC
I just had this one. I thought we fixed SourceRowRenderer a while back for these? Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. GLib.MissingIntPtrCtorException: GLib.Object subclass Banshee.Sources.Gui.SourceRowRenderer must provide a protected or public IntPtr ctor to support wrapping of native object handles. at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000] in <filename unknown>:0 at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000] in <filename unknown>:0 at GLib.Object.GetObject (IntPtr o) [0x00000] in <filename unknown>:0 at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback (IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback(IntPtr cell_layout, IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) at Gtk.Widget.gtksharp_widget_base_expose_event(IntPtr , IntPtr ) at Gtk.Widget.OnExposeEvent(Gdk.EventExpose evnt) at Banshee.Sources.Gui.SourceView.OnExposeEvent(Gdk.EventExpose evnt) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs:line 343 at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt) at Gtk.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.Run() at Banshee.Dap.DapPropertiesDialog.RunDialog() in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap.Gui/DapPropertiesDialog.cs:line 134 at Banshee.Dap.DapSource.<Initialize>m__E() in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:line 178 at Banshee.Gui.SourceActions.OnSourceProperties(System.Object o, System.EventArgs args) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs:line 320 at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef ) at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) at System.Delegate.DynamicInvokeImpl(System.Object[] args) at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) at System.Delegate.DynamicInvoke(System.Object[] args) at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args) at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) at Gtk.Application.gtk_main() at Gtk.Application.Run() at Banshee.Gui.GtkBaseClient.Run() in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 205 at Banshee.Gui.GtkBaseClient.Startup() in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 82 at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /home/david/Projekter/banshee/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54 at Banshee.Gui.GtkBaseClient.Startup() in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 77 at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 67 at Nereid.Client.Main(System.String[] args) in /home/david/Projekter/banshee/src/Clients/Nereid/Nereid/Client.cs:line 54 at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] ) at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args) at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) at System.AppDomain.ExecuteAssembly(System.String assemblyFile) at Booter.Booter.BootClient(System.String clientName) in /home/david/Projekter/banshee/src/Clients/Booter/Booter/Entry.cs:line 112 at Booter.Booter.Main() in /home/david/Projekter/banshee/src/Clients/Booter/Booter/Entry.cs:line 105
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. The stacktraces are the same for the two bugs, except some line numbers, which have changed due to changes in the code. *** This bug has been marked as a duplicate of bug 636145 ***