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

ArrayIndexOutOfBoundsException in "HelloTableView" -- Sort & Filter -- Enter "firstName lastName"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 9
    • javafx
    • None
    • generic

      ArrayIndexOutOfBoundsException if there is no last name.

      Steps to re-produce :
      1. open hello.HelloTableView
      2. Select "Sort & Filter"
      3. Enter only firstname and then Enter

      Expected : Either User defied Exception (Invalid entry , need last name, etc) or Don't throw exception.

      Current :
      Exception in thread "JavaFX Application Thread" java.lang.ArrayIndexOutOfBoundsException: 1
              at hello.HelloTableView.lambda$buildSortAndFilterTab$204(HelloTableView.java:619)
              at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
              at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
              at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
              at javafx.event.Event.fireEvent(Unknown Source)
              at javafx.scene.Scene$KeyHandler.process(Unknown Source)
              at javafx.scene.Scene$KeyHandler.access$1800(Unknown Source)
              at javafx.scene.Scene.impl_processKeyEvent(Unknown Source)
              at javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleKeyEvent$354(Unknown Source)
              at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(Unknown Source)
              at com.sun.glass.ui.View.handleKeyEvent(Unknown Source)
              at com.sun.glass.ui.View.notifyKey(Unknown Source)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.lambda$null$149(Unknown Source)
              at java.lang.Thread.run(Unknown Source)

            Unassigned Unassigned
            ghb Guru Hb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: