Linux 3.3.13-beta null reference exception on startup
Debian 12 x64
An error occurred. Please report this information to https://github.com/cwensley/pablodraw/issues:
System.NullReferenceException: Arg_NullReferenceException
at GLib.GType.op_Explicit(Type)
at GLib.Object.ClassInitializer.AddProperties(IntPtr)
at GLib.Object.ClassInitializer.ClassInit(IntPtr)
(PabloDraw:17268): GLib-GObject-CRITICAL **: 09:47:23.058: g_object_new_is_valid_property: object class '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox' has no property named 'homogeneous'
(PabloDraw:17268): GLib-GObject-WARNING **: 09:47:23.060: ../../../gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x56460e60b1a0' of type '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox'
(PabloDraw:17268): Gtk-CRITICAL **: 09:47:23.061: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(PabloDraw:17268): Gtk-CRITICAL **: 09:47:23.061: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed
(PabloDraw:17268): Gtk-CRITICAL **: 09:47:23.068: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
(PabloDraw:17268): GLib-GObject-CRITICAL **: 09:47:23.069: g_object_new_is_valid_property: object class '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox' has no property named 'homogeneous'
(PabloDraw:17268): GLib-GObject-WARNING **: 09:47:23.069: ../../../gobject/gsignal.c:2517: signal 'destroy' is invalid for instance '0x56460e60bec0' of type '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox'
(PabloDraw:17268): Gtk-CRITICAL **: 09:47:23.069: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
(PabloDraw:17268): Gtk-CRITICAL **: 09:47:23.069: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
Unhandled exception. System.NullReferenceException: Arg_NullReferenceException
at GLib.GType.op_Explicit(Type)
at GLib.Object.ClassInitializer.AddProperties(IntPtr)
at GLib.Object.ClassInitializer.ClassInit(IntPtr)
Aborted (core dumped)
i have the same error, kubuntu 24.04 x64.
same
Using void-linux, same issue. : / ldd does not report any dependencies on local GTK/GTK# libs, so assuming everything's statically linked then this error is not some sort of system version mismatch?
I can also observe the same problem on Debian unstable with PabloDraw v3.3.13.0
(PabloDraw:1424476): libnotify-WARNING **: 22:20:26.379: Failed to connect to proxy
An error occurred. Please report this information to https://github.com/cwensley/pablodraw/issues:
System.NullReferenceException: Arg_NullReferenceException
at GLib.GType.op_Explicit(Type)
at GLib.Object.ClassInitializer.AddProperties(IntPtr)
at GLib.Object.ClassInitializer.ClassInit(IntPtr)
(PabloDraw:1424476): GLib-GObject-CRITICAL **: 22:20:26.469: g_object_new_is_valid_property: object class '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox' has no property named 'homogeneous'
(PabloDraw:1424476): GLib-GObject-CRITICAL **: 22:20:26.472: ../../../gobject/gsignal.c:2426: signal 'destroy' is invalid for instance '0x5556d2d613c0' of type '__gtksharp_5_Eto_GtkSharp_Forms_GtkShrinkableVBox'
(PabloDraw:1424476): Gtk-CRITICAL **: 22:20:26.472: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(PabloDraw:1424476): Gtk-CRITICAL **: 22:20:26.473: gtk_box_pack: assertion 'GTK_IS_WIDGET (child)' failed
(PabloDraw:1424476): Gtk-CRITICAL **: 22:20:26.479: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
(PabloDraw:1424476): GLib-GObject-CRITICAL **: 22:20:26.481: g_object_new_is_valid_property: object class '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox' has no property named 'homogeneous'
(PabloDraw:1424476): GLib-GObject-CRITICAL **: 22:20:26.481: ../../../gobject/gsignal.c:2426: signal 'destroy' is invalid for instance '0x5556d2d9e050' of type '__gtksharp_6_Eto_GtkSharp_Forms_EtoVBox'
(PabloDraw:1424476): Gtk-CRITICAL **: 22:20:26.481: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
(PabloDraw:1424476): Gtk-CRITICAL **: 22:20:26.481: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
Unhandled exception. System.NullReferenceException: Arg_NullReferenceException
at GLib.GType.op_Explicit(Type)
at GLib.Object.ClassInitializer.AddProperties(IntPtr)
at GLib.Object.ClassInitializer.ClassInit(IntPtr)
[1] 1424476 IOT instruction (core dumped) PabloDraw
same problem can also be reported using the Linux x65 buinds for 3.3.0, 3.3.12.
Got it working on linux by compiling from source. Not sure what's up with the linux build in the releases, but the readme lists the wrong version of the .NET SDK and uses backslashes as directory delimiters in the listed build command.
I was able to compile after installing .NET 9 and changing the build command to
dotnet build Source/Pablodraw/PabloDraw.csproj
and running it from the top directory of the source zip/git clone.
I think this is fixed in 3.1.14-beta, can anyone confirm?
Please let me know if this is still happening in 3.3.14-beta. Closing for now.
Worked for me just now.
@cwensley Yes! It works!! thank you! 🥇