Bugzilla – Bug 321392
MonoDevelop crashes with GUI Stetic Designer with System.NullReferenceException.
Last modified: 2007-09-15 21:23:51 UTC
---- Reported by gattahernan@hotmail.com 2006-06-17 16:15:47 MST ---- Description of Problem: MonoDevelop crashes when I try to drag a Toolbar Button in a Toolbar that is contained in a VBox contained in a Notebook which is also contained in a VBox. :) Steps to reproduce the problem: 1. Create a C# Gtk# 2.0 Project. 2. Open the MainWindow.cs File Designer. 3. Add a VBox. 4. Delete the top division, leaving just two divisions. 5. Drag a Notebook in the bottom division. 6. Drag a VBox in the first-only page of the Notebook. 7. Delete the top division, leaving just two divisions. 8. Add a Toolbar in the top division. 9. Add a Toolbar Button in the Toolbar's Placeholder. 10. Try dragging another Toolbar Button in the Toolbar, once it creates a black line in the middle of it, release the mouse's button. Actual Results: MonoDevelop Crashes. The Console Output is included under Additional Information: Expected Results: I'd like the Toolbar Button to get added to the Toolbar as it does if it is not contained in all those containers. How often does this happen? Always. Additional Information: I'm running SuSE 10.1, KDE 3.5.1 Level "a" on a P4 1.7GHz, 512MB RAM, 280MB HD (working on that), running as root (otherwise, sintax highlighting won't work), installed using .bin file. ~~~~~~~~~~~~~~~ Console Output: ~~~~~~~~~~~~~~~ hgatta:/home/Hernan # monodevelop which: no mozilla in (/home/Hernan/mono-1.1.15/bin:/home/Hernan/mono-1.1.15/bin:/home/Hernan/mono-1.1.15/bin:/home/Hernan/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 458 and height -14 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 458 and height -23 QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 390 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 175 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 20 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 123 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 20 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 123 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 20 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 182 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 390 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 175 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 20 (MonoDevelop:9510): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 123 2006-06-17 15:33:12,224 [-1210607952] ERROR MonoDevelop.Core.ILoggingService [(null)] - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Gecko.WebControl ---> System.DllNotFoundException: libgtkembedmoz.so in (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type () in <0x00014> Gecko.WebControl:get_GType () in <0x00026> GtkSharp.GeckoSharp.ObjectManager:Initialize () in <0x00007> Gecko.WebControl:.cctor ()--- End of inner exception stack trace --- in <0x00000> <unknown method> in <0x0000b> MonoDevelop.Components.HtmlControl.MozillaControl:.ctor () in <0x0007d> MonoDevelop.WelcomePage.WelcomePageView:.ctor () in <0x00049> MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler:Run () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)--- End of inner exception stack trace --- in <0x0010e> System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <0x0001a> System.Reflection.MethodBase:Invoke (System.Object obj, System.Object[] parameters) in <0x004c7> MonoDevelop.Ide.Gui.IdeApp:Initialize (IProgressMonitor monitor) QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed QPainter::begin: Cannot paint null pixmap QPainter::end: Missing begin() or begin() failed Socket already in use (MonoDevelop:9510): GnomeUI-CRITICAL **: gnome_icon_list_append_pixbuf: assertion `im != NULL' failed (MonoDevelop:9510): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (MonoDevelop:9510): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed FileName: /home/Hernan/Projects/Test/MainWindow.cs mimeType: text/x-csharp mimeType: text/x-csharp FileName: /home/Hernan/Projects/Test/MainWindow.cs mimeType: text/x-csharp mimeType: text/x-csharp System.NullReferenceException: Object reference not set to an instance of an object in <0x00024> Stetic.DND:FaultDrop (Stetic.Wrapper.Widget wrapper, Int32 x, Int32 y) in <0x0008d> Stetic.DND:FaultDragDrop (System.Object obj, Gtk.DragDropArgs args) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_DragDropArgs (object,Gtk.DragDropArgs) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_DragDropArgs (object,Gtk.DragDropArgs) in <0x001a6> Gtk.Widget:DragDropSignalCallback (IntPtr arg0, IntPtr arg1, Int32 arg2, Int32 arg3, UInt32 arg4, IntPtr gch) in (wrapper native-to-managed) Gtk.Widget:DragDropSignalCallback (intptr,intptr,int,int,uint,intptr) in <0x00000> <unknown method> in (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x00007> MonoDevelop.Ide.Gui.IdeApp:Run () in <0x00b5a> MonoDevelop.Ide.Gui.IdeStartup:Run (System.String[] args) in <0x00176> MonoDevelop.Core.AddIns.AddInService:StartApplication (System.String addinId, System.String[] parameters) ---- Additional Comments From lluis@ximian.com 2006-06-25 10:17:29 MST ---- Toolbar support has been completely rewritten in SVN. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>SuSE Linux 10.1</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". Skipping unknown keyword: parity.