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

CLONE - ArrayIndexOutOfBoundsException in TextArea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • b42, XP

      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)

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

              Created:
              Updated:
              Resolved:
              Imported: