-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: javafx
-
Environment:
Windows 8
Running any example that has a ScrollPane has root node in the stage leads to this exception.
(likely any Parent without children will have the same problem).
The exception happens here:
AccessibleStage#initialize
// Note move it to a func later or redo the logic for first , the same is being used when scene graph is modified too
// Rethink this logic in future
AccessibleNode dummyRoot = new AccessibleNode(pRoot.getChildrenUnmodifiable().get(0));
The problem is that pRoot has no children.
(likely any Parent without children will have the same problem).
The exception happens here:
AccessibleStage#initialize
// Note move it to a func later or redo the logic for first , the same is being used when scene graph is modified too
// Rethink this logic in future
AccessibleNode dummyRoot = new AccessibleNode(pRoot.getChildrenUnmodifiable().get(0));
The problem is that pRoot has no children.