-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
7u6
-
2.2.0b12
After RT-22026.
In standart application, set page count to 10. Set current page index to 15. Yes, we don't navigate to 15, but I catch exception:
java.lang.IllegalArgumentException: Incorrect index : 15
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene.checkIndexCorrectness(PaginationApp.java:269)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene.createPage(PaginationApp.java:241)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene$1.call(PaginationApp.java:89)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene$1.call(PaginationApp.java:85)
at com.sun.javafx.scene.control.skin.PaginationSkin.createPage(PaginationSkin.java:338)
at com.sun.javafx.scene.control.skin.PaginationSkin.animateSwitchPage(PaginationSkin.java:381)
This is my exception, in my app: it says, that factory was called to create page 15. Set current page index to 25 and 25th page will be requested. But we are still on the last page.
Affected tests:
ControlsAutomatedTestSuite/javafx/scene/control/test/pagination/PaginationTest/currentPageIndexPropertyTest
In standart application, set page count to 10. Set current page index to 15. Yes, we don't navigate to 15, but I catch exception:
java.lang.IllegalArgumentException: Incorrect index : 15
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene.checkIndexCorrectness(PaginationApp.java:269)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene.createPage(PaginationApp.java:241)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene$1.call(PaginationApp.java:89)
at javafx.scene.control.test.pagination.PaginationApp$PaginationScene$1.call(PaginationApp.java:85)
at com.sun.javafx.scene.control.skin.PaginationSkin.createPage(PaginationSkin.java:338)
at com.sun.javafx.scene.control.skin.PaginationSkin.animateSwitchPage(PaginationSkin.java:381)
This is my exception, in my app: it says, that factory was called to create page 15. Set current page index to 25 and 25th page will be requested. But we are still on the last page.
Affected tests:
ControlsAutomatedTestSuite/javafx/scene/control/test/pagination/PaginationTest/currentPageIndexPropertyTest