Hi Tom,
There is already a bug filed for (a) -- RT-34668
<https://javafx-jira.kenai.com/browse/RT-34668>.
I haven't seen (b) before, but it looks like it would happen if the
glass application instance was nulled out before the toolkit was
shutdown. I have another shutdown bug on my plate, RT-36761
<https://javafx-jira.kenai.com/browse/RT-36761>, that may or may not be
related so I filed RT-37006
<https://javafx-jira.kenai.com/browse/RT-37006> for this one and will
look at it at the same time.
-- Kevin
Tom Schindl wrote:
Hi,
I'm getting some interesting outputs/errors when running on 8u-dev/rt:
a) When I shutdown i sometimes get
Java has been detached already, but someone is still trying to use it at
-[GlassRunnable
run]:/Users/tomschindl/Documents/e-workspaces/OpenJFX-master/modules/graphics/src/main/native-glass/mac/GlassApplication.m:92
Java has been detached already, but someone is still trying to use it at
-[GlassRunnable
dealloc]:/Users/tomschindl/Documents/e-workspaces/OpenJFX-master/modules/graphics/src/main/native-glass/mac/GlassApplication.m:106
b) Also on shutdown I got (just once)
java.lang.NullPointerException
at com.sun.glass.ui.Application.invokeLater(Application.java:472)
at
com.sun.javafx.tk.quantum.QuantumToolkit.postPulse(QuantumToolkit.java:396)
at
com.sun.javafx.tk.quantum.QuantumToolkit.lambda$12(QuantumToolkit.java:300)
at
com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$42/435457674.run(Unknown
Source)
Anyone else ever seen those? I'm currently working on DnD so this might
be involved but I'm not able to reproduce is all time.
Tom