You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Bayless Kirtley <bk...@cox.net> on 2020/05/13 14:03:53 UTC
What is GLib and GtkWidget?
I'm still getting multiple error messages whenever I run a Java project
under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are samples of
the messages.
(java:3065): GLib-GObject-WARNING **: 08:52:31.588:
../../../../gobject/gsignal.c:1253: unable to lookup signal
"window-state-event" of unloaded type 'GtkWidget'
(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
g_signal_add_emission_hook: assertion 'signal_id > 0' failed
(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
'GtkToplevelAccessible' to 'JawToplevel'
That last one repeats over and over. I have never knowingly used GLib,
GtkWidget or JawTopLevel. What is going on here?
Bayless
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: What is GLib and GtkWidget?
Posted by Bayless Kirtley <bk...@cox.net>.
Thanks for the answer Neil. At least now I know to look elsewhere, maybe
reinstall Glib?
Bayless
On 5/23/20 11:13 AM, Neil C Smith wrote:
>
>
> On Sat, 23 May 2020, 16:57 Bayless Kirtley, <bkirt@cox.net
> <ma...@cox.net>> wrote:
>
> On googling, I find that GTK is a tool kit that I have never
> intentionally used for anything. It also relates to graphical
> interfaces for C programs.
>
> It's also used by OpenJDK for the native look and feel on Linux. This
> has nothing specifically do with NetBeans. Sounds like it could be
> another issue with bad Java packaging with Ubuntu though.
>
> Best wishes,
>
> Neil
>
Re: What is GLib and GtkWidget?
Posted by Neil C Smith <ne...@apache.org>.
On Sat, 23 May 2020, 16:57 Bayless Kirtley, <bk...@cox.net> wrote:
> On googling, I find that GTK is a tool kit that I have never
> intentionally used for anything. It also relates to graphical interfaces
> for C programs.
>
It's also used by OpenJDK for the native look and feel on Linux. This has
nothing specifically do with NetBeans. Sounds like it could be another
issue with bad Java packaging with Ubuntu though.
Best wishes,
Neil
>
Re: What is GLib and GtkWidget?
Posted by Bayless Kirtley <bk...@cox.net>.
On googling, I find that GTK is a tool kit that I have never
intentionally used for anything. It also relates to graphical interfaces
for C programs. My programs are all 100% Java, including any database
engines. Is this something that Netbeans secretly used at some time but
no longer supports? If so then how to I remove it from older code? It
doesn't seem logical for Netbeans updates to destroy working Java programs.
Bayless
On 5/13/20 3:39 PM, Geertjan Wielenga wrote:
> What did you find when you googled some of these error messages?
>
> Gj
>
> On Wed, 13 May 2020 at 22:25, Bayless Kirtley <bkirt@cox.net
> <ma...@cox.net>> wrote:
>
> Here is another new error message from running an old Java program
> under
> 11.1 that always worked under 8.1. This seems related but I don't
> know
> what atk is.
>
>
> ** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance
> called
> from jaw_thread. If you are running a screen reader, this is expected
> If you are not running a screen reader, please report this warning to
> the java-atk-wrapper package, explaining how to reproduce this warning
>
>
> On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> > I'm still getting multiple error messages whenever I run a Java
> > project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These
> are
> > samples of the messages.
> >
> > (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> > ../../../../gobject/gsignal.c:1253: unable to lookup signal
> > "window-state-event" of unloaded type 'GtkWidget'
> >
> > (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> > g_signal_add_emission_hook: assertion 'signal_id > 0' failed
> >
> > (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast
> from
> > 'GtkToplevelAccessible' to 'JawToplevel'
> >
> > That last one repeats over and over. I have never knowingly used
> GLib,
> > GtkWidget or JawTopLevel. What is going on here?
> >
> > Bayless
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> <ma...@netbeans.apache.org>
> > For additional commands, e-mail: users-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> <ma...@netbeans.apache.org>
> For additional commands, e-mail: users-help@netbeans.apache.org
> <ma...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
Re: What is GLib and GtkWidget?
Posted by Geertjan Wielenga <ge...@apache.org>.
What did you find when you googled some of these error messages?
Gj
On Wed, 13 May 2020 at 22:25, Bayless Kirtley <bk...@cox.net> wrote:
> Here is another new error message from running an old Java program under
> 11.1 that always worked under 8.1. This seems related but I don't know
> what atk is.
>
>
> ** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance called
> from jaw_thread. If you are running a screen reader, this is expected
> If you are not running a screen reader, please report this warning to
> the java-atk-wrapper package, explaining how to reproduce this warning
>
>
> On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> > I'm still getting multiple error messages whenever I run a Java
> > project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are
> > samples of the messages.
> >
> > (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> > ../../../../gobject/gsignal.c:1253: unable to lookup signal
> > "window-state-event" of unloaded type 'GtkWidget'
> >
> > (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> > g_signal_add_emission_hook: assertion 'signal_id > 0' failed
> >
> > (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
> > 'GtkToplevelAccessible' to 'JawToplevel'
> >
> > That last one repeats over and over. I have never knowingly used GLib,
> > GtkWidget or JawTopLevel. What is going on here?
> >
> > Bayless
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: users-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
Re: What is GLib and GtkWidget?
Posted by Bayless Kirtley <bk...@cox.net>.
Here is another new error message from running an old Java program under
11.1 that always worked under 8.1. This seems related but I don't know
what atk is.
** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance called
from jaw_thread. If you are running a screen reader, this is expected
If you are not running a screen reader, please report this warning to
the java-atk-wrapper package, explaining how to reproduce this warning
On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> I'm still getting multiple error messages whenever I run a Java
> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are
> samples of the messages.
>
> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> ../../../../gobject/gsignal.c:1253: unable to lookup signal
> "window-state-event" of unloaded type 'GtkWidget'
>
> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>
> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
> 'GtkToplevelAccessible' to 'JawToplevel'
>
> That last one repeats over and over. I have never knowingly used GLib,
> GtkWidget or JawTopLevel. What is going on here?
>
> Bayless
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: What is GLib and GtkWidget?
Posted by Bayless Kirtley <bk...@cox.net>.
Thanks to your suggestion Ty, I thin I have solved the problem. I
changed one old project to Java 11 and it still seems to run all right
and I don't get those errors. Apparently there is something missing or
messed up in Open JDK 8. I suspect the remaning projects will also be
all right with java 11 and will proceed along those lines.
Thanks Bayless
On 5/23/20 11:42 AM, Ty Young wrote:
>
> On 5/13/20 9:03 AM, Bayless Kirtley wrote:
>> I'm still getting multiple error messages whenever I run a Java
>> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are
>> samples of the messages.
>>
>> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
>> ../../../../gobject/gsignal.c:1253: unable to lookup signal
>> "window-state-event" of unloaded type 'GtkWidget'
>>
>> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
>> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>>
>> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
>> 'GtkToplevelAccessible' to 'JawToplevel'
>>
>> That last one repeats over and over. I have never knowingly used
>> GLib, GtkWidget or JawTopLevel. What is going on here?
>>
>> Bayless
>
>
> TL;DR:
>
>
> Swing/AWT/JavaFX aren't magically cross-platform: they have to do
> basic integration with each underlying platform's UI API.
> GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major
> Linux UI API used by various desktops and applications.
>
>
> What seems to be happening here is that something broke in that
> integration layer(bindings), which allow Java to communicate with GTK,
> is broken somehow. What I don't understand is why it's only happening
> when running a project, Netbeans probably shouldn't be running either.
>
>
> I wonder, did you install updates without rebooting? That tends to
> introduce issues like this.
>
>
> Otherwise it might be Linux distros packaging something wrong, as
> others have suggested. Maybe try installing and using Java 11 instead?
>
>
>
>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: What is GLib and GtkWidget?
Posted by Bayless Kirtley <bk...@cox.net>.
Thanks for the education Ty. I now understand the Glib is necessary and
not something Netbeans has introduced. It does seem strange that the
programs still seem to run properly and display just fine. Maybe I'll
try to reinstall Glib then.
Bayless
On 5/23/20 11:42 AM, Ty Young wrote:
>
> On 5/13/20 9:03 AM, Bayless Kirtley wrote:
>> I'm still getting multiple error messages whenever I run a Java
>> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are
>> samples of the messages.
>>
>> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
>> ../../../../gobject/gsignal.c:1253: unable to lookup signal
>> "window-state-event" of unloaded type 'GtkWidget'
>>
>> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
>> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>>
>> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
>> 'GtkToplevelAccessible' to 'JawToplevel'
>>
>> That last one repeats over and over. I have never knowingly used
>> GLib, GtkWidget or JawTopLevel. What is going on here?
>>
>> Bayless
>
>
> TL;DR:
>
>
> Swing/AWT/JavaFX aren't magically cross-platform: they have to do
> basic integration with each underlying platform's UI API.
> GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major
> Linux UI API used by various desktops and applications.
>
>
> What seems to be happening here is that something broke in that
> integration layer(bindings), which allow Java to communicate with GTK,
> is broken somehow. What I don't understand is why it's only happening
> when running a project, Netbeans probably shouldn't be running either.
>
>
> I wonder, did you install updates without rebooting? That tends to
> introduce issues like this.
>
>
> Otherwise it might be Linux distros packaging something wrong, as
> others have suggested. Maybe try installing and using Java 11 instead?
>
>
>
>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: What is GLib and GtkWidget?
Posted by Ty Young <yo...@gmail.com>.
On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> I'm still getting multiple error messages whenever I run a Java
> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are
> samples of the messages.
>
> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> ../../../../gobject/gsignal.c:1253: unable to lookup signal
> "window-state-event" of unloaded type 'GtkWidget'
>
> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>
> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from
> 'GtkToplevelAccessible' to 'JawToplevel'
>
> That last one repeats over and over. I have never knowingly used GLib,
> GtkWidget or JawTopLevel. What is going on here?
>
> Bayless
TL;DR:
Swing/AWT/JavaFX aren't magically cross-platform: they have to do basic
integration with each underlying platform's UI API. GLib/GTKGtkWidget
are a dependency/component of GTK. GTK is the major Linux UI API used by
various desktops and applications.
What seems to be happening here is that something broke in that
integration layer(bindings), which allow Java to communicate with GTK,
is broken somehow. What I don't understand is why it's only happening
when running a project, Netbeans probably shouldn't be running either.
I wonder, did you install updates without rebooting? That tends to
introduce issues like this.
Otherwise it might be Linux distros packaging something wrong, as others
have suggested. Maybe try installing and using Java 11 instead?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists