Menu

#212 JavaFX: IndexOutOfBoundsException when creating new account

closed
None
5
2015-10-13
2015-10-13
Mehul
No

OS: Linux
Distro: Debian/stable
Java: $ java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

I get the following error dialogs popping up when I use jGnashFX 2.19.0 and try to do a "File-> New" and after I had clicked through all the defaults.

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:653)
    at java.util.ArrayList.get(ArrayList.java:429)
    at com.sun.javafx.collections.ObservableListWrapper.get(ObservableListWrapper.java:89)
    at jgnash.uifx.control.AccountComboBox.lambda$loadAccounts$31(AccountComboBox.java:139)
    at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
    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$50(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:745)

Discussion

  • Craig Cavanaugh

    Craig Cavanaugh - 2015-10-13

    Fixed for the next release. Thanks for reporting the bug!

     
  • Craig Cavanaugh

    Craig Cavanaugh - 2015-10-13
    • status: open --> closed
    • assigned_to: Craig Cavanaugh
     

Log in to post a comment.