JDK-8091671 : FXRobot thinks getChildren and getStages should force scene initialization if called before Scene is initialized
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: other
  • Priority: P5
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2012-02-22
  • Updated: 2018-09-06
  • Resolved: 2017-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Related Reports
Relates :  
Relates :  

    public static ObservableList<Node> getChildren(Parent p) {
        if (sceneAccessor == null) {
            // TODO: force scene initialization
        return sceneAccessor.getChildren(p);

    public static ObservableList<Stage> getStages() {
        if (stageAccessor == null) {
            // TODO: force stage initialization
        return stageAccessor.getStages();

FXRobot is obsolete and was removed by JDK-8156809

If FXRobotHelper is removed, then this issue can just be closed as it will no longer be relevant