-
Bug
-
Resolution: Fixed
-
P3
-
7u6
-
2.2.0b11
Using standart test app, with additional lines:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:208)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutPageIndicators(PaginationSkin.java:860)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutChildren(PaginationSkin.java:1094)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:168)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2179)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:365)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:455)
at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:324)
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$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)
Movie is attached
Steps to reproduce:
1) set min width to 10 approximatelly,
2) set pref width to less then 70.
Exception:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:208)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutPageIndicators(PaginationSkin.java:860)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutChildren(PaginationSkin.java:1094)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:168)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2179)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:365)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:455)
at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:324)
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$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:208)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutPageIndicators(PaginationSkin.java:860)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutChildren(PaginationSkin.java:1094)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:168)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2179)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:365)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:455)
at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:324)
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$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)
Movie is attached
Steps to reproduce:
1) set min width to 10 approximatelly,
2) set pref width to less then 70.
Exception:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:208)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutPageIndicators(PaginationSkin.java:860)
at com.sun.javafx.scene.control.skin.PaginationSkin$NavigationControl.layoutChildren(PaginationSkin.java:1094)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
at javafx.scene.Scene.doLayoutPass(Scene.java:487)
at javafx.scene.Scene.access$3900(Scene.java:168)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2179)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:365)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:455)
at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:324)
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$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)
- relates to
-
JDK-8126177 [Pagination] Before click next - "ArithmeticException / by zero" for small size pane
-
- Closed
-