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

CLONE - ArrayIndexOutOfBoundsException in TextArea

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      b42, XP

      Description

      Probably a dup, but in b42 if you simply click inside of a TextArea, it throws the following exception:

      java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.get(Unknown Source)
      at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:141)
      at com.sun.javafx.scene.control.skin.TextAreaSkin$ContentView.layoutChildren(TextAreaSkin.java:182)
      at javafx.scene.Parent.layout(Parent.java:886)
      at javafx.scene.Parent.layout(Parent.java:896)
      at javafx.scene.Scene.layoutDirtyRoots(Scene.java:428)
      at javafx.scene.Scene.doLayoutPass(Scene.java:401)
      at javafx.scene.Scene.access$2800(Scene.java:126)
      at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:1719)
      at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:283)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:398)
      at com.sun.javafx.tk.quantum.QuantumToolkit$10.run(QuantumToolkit.java:330)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                leifs Leif Samuelsson (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: