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

ObservableList getAddedSubList() throws java.lang.IndexOutOfBoundsException

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: