Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8124876

A11Y: CloseWindowTest fails in certain circumstances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 8
    • javafx

      com.sun.javafx.tk.quantum.CloseWindowTest fails with the following exception in certain configuration. Looks like it is related to touch screen support again.

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
          [junit] at java.util.ArrayList.rangeCheck(ArrayList.java:634)
          [junit] at java.util.ArrayList.get(ArrayList.java:410)
          [junit] at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:87)
          [junit] at com.sun.javafx.collections.VetoableListDecorator.get(VetoableListDecorator.java:265)
          [junit] at javafx.collections.FXCollections$UnmodifiableObservableListImpl.get(FXCollections.java:923)
          [junit] at com.sun.javafx.accessible.AccessibleStage.initialize(AccessibleStage.java:93)
          [junit] at com.sun.javafx.accessible.AccessibleStage.<init>(AccessibleStage.java:70)
          [junit] at com.sun.javafx.stage.StagePeerListener.initAccessibleTKStageListener(StagePeerListener.java:76)
          [junit] at com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:92)
          [junit] at com.sun.javafx.tk.quantum.GlassWindowEventHandler.run(GlassWindowEventHandler.java:37)
          [junit] at java.security.AccessController.doPrivileged(Native Method)
          [junit] at com.sun.javafx.tk.quantum.GlassWindowEventHandler.handleWindowEvent(GlassWindowEventHandler.java:116)
          [junit] at com.sun.glass.ui.Window.handleWindowEvent(Window.java:1201)
          [junit] at com.sun.glass.ui.Window.notifyInitAccessibility(Window.java:1193)
          [junit] at com.sun.glass.ui.win.WinWindow._requestFocus(Native Method)
          [junit] at com.sun.glass.ui.Window.requestFocus(Window.java:642)
          [junit] at com.sun.glass.ui.Window.requestFocus(Window.java:647)
          [junit] at com.sun.javafx.tk.quantum.WindowStage.requestFocus(WindowStage.java:630)
          [junit] at com.sun.javafx.tk.quantum.WindowStage.setScene(WindowStage.java:200)
          [junit] at javafx.stage.Window$9.invalidated(Window.java:760)
          [junit] at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:107)
          [junit] at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:141)
          [junit] at javafx.stage.Window.setShowing(Window.java:827)
          [junit] at javafx.stage.Window.show(Window.java:842)
          [junit] at javafx.stage.Stage.show(Stage.java:242)
          [junit] at com.sun.javafx.tk.quantum.CloseWindowTest$6.run(Unknown Source)
          [junit] at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:225)
          [junit] at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:222)
          [junit] at java.security.AccessController.doPrivileged(Native Method)
          [junit] at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:222)
          [junit] at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
          [junit] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
          [junit] at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
          [junit] at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
          [junit] at java.lang.Thread.run(Thread.java:724)

        1. junit-log.txt
          21 kB
          Alexander Kuznetcov

            ptbrunet Pete Brunet (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: