pablodraw icon indicating copy to clipboard operation
pablodraw copied to clipboard

Linux 3.3.13-beta null reference exception on startup

Open leikaisho opened this issue 1 year ago • 2 comments

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)

leikaisho avatar Aug 15 '24 13:08 leikaisho

i have the same error, kubuntu 24.04 x64.

tstamborski avatar Aug 23 '24 18:08 tstamborski

same

rvorias avatar Sep 03 '24 15:09 rvorias

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?

telamon avatar Oct 12 '24 13:10 telamon

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

laf0rge avatar Dec 09 '24 21:12 laf0rge

same problem can also be reported using the Linux x65 buinds for 3.3.0, 3.3.12.

laf0rge avatar Dec 09 '24 21:12 laf0rge

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.

AdrianGroty avatar Jan 27 '25 06:01 AdrianGroty

I think this is fixed in 3.1.14-beta, can anyone confirm?

cwensley avatar Feb 18 '25 09:02 cwensley

Please let me know if this is still happening in 3.3.14-beta. Closing for now.

cwensley avatar Feb 19 '25 08:02 cwensley

Worked for me just now.

AdrianGroty avatar Feb 19 '25 13:02 AdrianGroty

@cwensley Yes! It works!! thank you! 🥇

telamon avatar Mar 11 '25 20:03 telamon