-
Bug
-
Resolution: Fixed
-
P3
-
8u25, 8u40
-
Windows 7 64-bit. Java 8 Update 40 b16.
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8093390 | 9 | Kevin Rushforth | P3 | Resolved | Fixed |
I have the very latest JRE 8 Update 40 b16 (32bit).
My application uses lots of JavaFX Dialogs, and for some dialogs, when I call showAndWait(), under some circumstances that are unknown to myself... I get this exception:
Exception in thread "JavaFX Application Thread"
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at com.sun.javafx.tk.quantum.GlassStage.windowsSetEnabled(Unknown Source)
at com.sun.javafx.tk.quantum.WindowStage.setVisible(Unknown Source)
at javafx.stage.Window$9.invalidated(Unknown Source)
at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
at javafx.stage.Window.setShowing(Unknown Source)
at javafx.stage.Window.show(Unknown Source)
at javafx.stage.Stage.show(Unknown Source)
at javafx.stage.Stage.showAndWait(Unknown Source)
at javafx.scene.control.HeavyweightDialog.showAndWait(Unknown Source)
at javafx.scene.control.Dialog.showAndWait(Unknown Source)
I cannot for the life of me figure out if it's me doing something wrong, or if this is indeed a bug in JavaFX dialogs.. but I am leaning towards a JavaFX bug.
I do not have a test case, since it's my real application in which it happens... and most of the dialogs show just fine.
My application uses lots of JavaFX Dialogs, and for some dialogs, when I call showAndWait(), under some circumstances that are unknown to myself... I get this exception:
Exception in thread "JavaFX Application Thread"
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
at java.util.ArrayList$Itr.next(Unknown Source)
at com.sun.javafx.tk.quantum.GlassStage.windowsSetEnabled(Unknown Source)
at com.sun.javafx.tk.quantum.WindowStage.setVisible(Unknown Source)
at javafx.stage.Window$9.invalidated(Unknown Source)
at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
at javafx.stage.Window.setShowing(Unknown Source)
at javafx.stage.Window.show(Unknown Source)
at javafx.stage.Stage.show(Unknown Source)
at javafx.stage.Stage.showAndWait(Unknown Source)
at javafx.scene.control.HeavyweightDialog.showAndWait(Unknown Source)
at javafx.scene.control.Dialog.showAndWait(Unknown Source)
I cannot for the life of me figure out if it's me doing something wrong, or if this is indeed a bug in JavaFX dialogs.. but I am leaning towards a JavaFX bug.
I do not have a test case, since it's my real application in which it happens... and most of the dialogs show just fine.
- backported by
-
JDK-8093390 ConcurrentModificationException when closing APPLICATION_MODAL dialog
-
- Resolved
-
- duplicates
-
JDK-8132323 concurrent windows (stages) modifications
-
- Closed
-
-
JDK-8095460 ConcurrentModificationException when closing a dialog from a context menu of a textfield.
-
- Closed
-