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

TextArea: exception and inoperability on ENTER key

    Details

      Description

      java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
              at java.util.ArrayList.RangeCheck(ArrayList.java:547)
              at java.util.ArrayList.get(ArrayList.java:322)
              at javafx.scene.control.TextArea$TextAreaContent.get(TextArea.java:77)
              at javafx.scene.control.TextArea$TextAreaContent.get(TextArea.java:255)
              at javafx.scene.control.TextArea$TextAreaContent.get(TextArea.java:34)
              at javafx.scene.control.TextInputControl$TextProperty.get(TextInputControl.java:938)
              at javafx.scene.control.TextInputControl.getText(TextInputControl.java:148)
              at com.sun.javafx.scene.control.skin.TextAreaSkin$13.onChanged(TextAreaSkin.java:459)
              at javafx.scene.control.TextArea$TextAreaContent.fireParagraphListChangeEvent(TextArea.java:285)
              at javafx.scene.control.TextArea$TextAreaContent.delete(TextArea.java:215)
              at javafx.scene.control.TextInputControl$TextProperty.doSet(TextInputControl.java:1014)
              at javafx.scene.control.TextInputControl$TextProperty.set(TextInputControl.java:945)
              at javafx.scene.control.TextInputControl.setText(TextInputControl.java:150)
              at javafx.scene.control.TextArea.setText(TextArea.java:452)
              at javafx.scene.control.TextInputControl.replaceSelection(TextInputControl.java:861)
              at com.sun.javafx.scene.control.behavior.TextAreaBehavior.insertNewLine(TextAreaBehavior.java:119)
              at com.sun.javafx.scene.control.behavior.TextAreaBehavior.callAction(TextAreaBehavior.java:101)
              at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(BehaviorBase.java:144)
              at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.callActionForEvent(TextInputControlBehavior.java:91)
              at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:106)
              at com.sun.javafx.scene.control.behavior.BehaviorBase$1.handle(BehaviorBase.java:104)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:56)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:162)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:115)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
              at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:47)
              at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
              at javafx.event.Event.fireEvent(Event.java:171)
              at javafx.scene.Scene$KeyHandler.process(Scene.java:2821)
              at javafx.scene.Scene$KeyHandler.access$1500(Scene.java:2751)
              at javafx.scene.Scene.impl_processKeyEvent(Scene.java:1353)
              at javafx.scene.Scene$ScenePeerListener.keyEvent(Scene.java:1784)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(GlassViewEventHandler.java:105)
              at com.sun.glass.ui.View.handleKeyEvent(View.java:248)
              at com.sun.glass.ui.View.notifyKey(View.java:534)
              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(Thread.java:662)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                leifs Leif Samuelsson (Inactive)
                Reporter:
                ogb Oleg Barbashov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: