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

ArrayIndexOutOfBoundsException at Application boot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2 P2
    • None
    • 8u25
    • javafx
    • None
    • JDK 8u25, Win 7 Pro SP1, 64 Bit

      My application is switching to Full Screen Mode rather early in the boot process. All worked fine for months, but since I added a background worker delaying showing of the first Stage, I am running into the following stack trace every few restarts:

      Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: 2
      at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:357)
      at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:267)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:447)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:431)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$363(QuantumToolkit.java:298)
      at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$41/1772322577.run(Unknown Source)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102)
      at com.sun.glass.ui.win.WinApplication$$Lambda$37/501263526.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)

      Apparently the stack trace does not invole any of my own code, so I exprect that an assumption made in the JavaFX boot code is not met once the initial Stage is not shown within the first few seconds after application boot.

      Anyways, this is a severe bug. The application does not crash but try again and again the same code, hence iterates endless ("hangs up") which must never happen.

            vadim Vadim Pakhnushev
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: