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

Array out of bounds in VirtualFlow.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      linux desktop displaying to my mac

      Description


      ddhill@ddhbld:~/sb/insanity/javafx_samples$ java -Djava.ext.dirs=$HOME/sb/8u20/graphics/artifacts/sdk/rt/lib/ext/ -jar Ensemble8.jar
      libGL error: failed to load driver: swrast
      libGL error: Try again with LIBGL_DEBUG=verbose for more details.
      Prism-ES2 Error : GL_VERSION (major.minor) = 1.4
      Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.elementData(ArrayList.java:403)
      at java.util.ArrayList.get(ArrayList.java:416)
      at com.sun.javafx.scene.control.skin.VirtualFlow$ArrayLinkedList.get(VirtualFlow.java:2741)
      at com.sun.javafx.scene.control.skin.VirtualFlow.layoutChildren(VirtualFlow.java:949)
      at com.sun.javafx.scene.control.skin.VirtualFlow.setCellCount(VirtualFlow.java:229)
      at com.sun.javafx.scene.control.skin.ListViewSkin.updateRowCount(ListViewSkin.java:217)
      at com.sun.javafx.scene.control.skin.VirtualContainerBase.checkState(VirtualContainerBase.java:114)
      at com.sun.javafx.scene.control.skin.VirtualContainerBase.layoutChildren(VirtualContainerBase.java:109)
      at com.sun.javafx.scene.control.skin.ListViewSkin.layoutChildren(ListViewSkin.java:298)
      at javafx.scene.control.Control.layoutChildren(Control.java:589)
      at javafx.scene.Parent.layout(Parent.java:1074)
      at javafx.scene.Parent.layout(Parent.java:1080)
      at javafx.scene.Parent.layout(Parent.java:1080)
      at javafx.scene.Scene.doLayoutPass(Scene.java:530)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2358)
      at com.sun.javafx.tk.Toolkit.lambda$runPulse$41(Toolkit.java:314)
      at com.sun.javafx.tk.Toolkit$$Lambda$280/1108133956.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:444)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:424)
      at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$354(QuantumToolkit.java:295)
      at com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$47/560528444.run(Unknown Source)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication.lambda$null$58(GtkApplication.java:126)
      at com.sun.glass.ui.gtk.GtkApplication$$Lambda$43/2110121908.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jgiles Jonathan Giles
              Reporter:
              ddhill David Hill (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: