-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
7u10
-
Win7 x64, 8GB RAM
I have a complex gui with many Node adding, replacing, removing. The gui also uses many tasks.
At random following ConcurrentModificationException is thrown.
I have replaced all HashMaps with ConcurrentHashMaps in my project but the ConcurrentModificationException still occurs.
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)
at java.util.LinkedHashMap$KeyIterator.next(Unknown Source)
at javafx.scene.Parent.recomputeBounds(Parent.java:1526)
at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
at javafx.scene.Node.updateGeomBounds(Node.java:3142)
at javafx.scene.Node.getGeomBounds(Node.java:3102)
at javafx.scene.Node.getLocalBounds(Node.java:3084)
at javafx.scene.Node.updateTxBounds(Node.java:3155)
at javafx.scene.Node.getTransformedBounds(Node.java:3002)
at javafx.scene.Parent.recomputeBounds(Parent.java:1577)
at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:2517)
at javafx.scene.Node.updateGeomBounds(Node.java:3142)
at javafx.scene.Node.getGeomBounds(Node.java:3102)
at javafx.scene.Node.impl_updatePG(Node.java:456)
at javafx.scene.Parent.impl_updatePG(Parent.java:107)
at javafx.scene.layout.Region.impl_updatePG(Region.java:2044)
at javafx.scene.Node.impl_syncPGNode(Node.java:425)
at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Scene.java:2105)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2206)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Unknown Source)
At random following ConcurrentModificationException is thrown.
I have replaced all HashMaps with ConcurrentHashMaps in my project but the ConcurrentModificationException still occurs.
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)
at java.util.LinkedHashMap$KeyIterator.next(Unknown Source)
at javafx.scene.Parent.recomputeBounds(Parent.java:1526)
at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
at javafx.scene.Node.updateGeomBounds(Node.java:3142)
at javafx.scene.Node.getGeomBounds(Node.java:3102)
at javafx.scene.Node.getLocalBounds(Node.java:3084)
at javafx.scene.Node.updateTxBounds(Node.java:3155)
at javafx.scene.Node.getTransformedBounds(Node.java:3002)
at javafx.scene.Parent.recomputeBounds(Parent.java:1577)
at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:2517)
at javafx.scene.Node.updateGeomBounds(Node.java:3142)
at javafx.scene.Node.getGeomBounds(Node.java:3102)
at javafx.scene.Node.impl_updatePG(Node.java:456)
at javafx.scene.Parent.impl_updatePG(Parent.java:107)
at javafx.scene.layout.Region.impl_updatePG(Region.java:2044)
at javafx.scene.Node.impl_syncPGNode(Node.java:425)
at javafx.scene.Scene$ScenePulseListener.synchronizeSceneNodes(Scene.java:2105)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2206)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:460)
at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
at java.lang.Thread.run(Unknown Source)