Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
MacBook Air 2012, JavaFXb117, OS X 10.9
Description
I sometimes get exceptions thrown when closing a Java application on a Mac.
I use the touchpad on the MacBook Air for all interaction.
To generate exceptions:
1. Run any windowed JavaFX Application.
2. Click on the red close window circle icon in the window frame.
The application will shutdown.
Two times out of ten, on shutdown I see the following exception printed to the console:
Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: This operation is permitted on the event thread only; currentThread = JavaFX Application Thread
at com.sun.glass.ui.Application.checkEventThread(Application.java:427)
at com.sun.glass.ui.View.isClosed(View.java:409)
at com.sun.glass.ui.mac.MacTouchInputSupport.notifyNextTouchEvent(MacTouchInputSupport.java:122)
at com.sun.glass.ui.mac.MacGestureSupport.notifyNextTouchEvent(MacGestureSupport.java:77)
I use the touchpad on the MacBook Air for all interaction.
To generate exceptions:
1. Run any windowed JavaFX Application.
2. Click on the red close window circle icon in the window frame.
The application will shutdown.
Two times out of ten, on shutdown I see the following exception printed to the console:
Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: This operation is permitted on the event thread only; currentThread = JavaFX Application Thread
at com.sun.glass.ui.Application.checkEventThread(Application.java:427)
at com.sun.glass.ui.View.isClosed(View.java:409)
at com.sun.glass.ui.mac.MacTouchInputSupport.notifyNextTouchEvent(MacTouchInputSupport.java:122)
at com.sun.glass.ui.mac.MacGestureSupport.notifyNextTouchEvent(MacGestureSupport.java:77)
Attachments
Issue Links
- duplicates
-
JDK-8093651 Threading issue in touch code on Mac
- Closed
- relates to
-
JDK-8097181 [TouchEvent, PopupControl] Using a ListView in PopupControl generates a lot of TouchEvent NPE
- Resolved