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

ObservableList getAddedSubList() throws java.lang.IndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx
    • win7 amd64

      listner call
      observableList.addListener(new ListChangeListener<Player>() {

                  @Override
                  public void onChanged(Change<? extends Player> c) {

                      update(c.getAddedSubList(), c.getRemoved());
                  }
              });

      throws sometimes
      java.lang.IndexOutOfBoundsException
      at com.sun.javafx.collections.ObservableListWrapper$ObservableSubList.<init>(ObservableListWrapper.java:359)
      at com.sun.javafx.collections.ObservableListWrapper.subList(ObservableListWrapper.java:256)
      at javafx.collections.ListChangeListener$Change.getAddedSubList(ListChangeListener.java:144)

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: