java.util.NoSuchElementException: Cannot access index 1 when size is 0. Remember to check hasNext() before using next().

GitHub | biagionicp | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 2660#247835522

    GitHub | 5 months ago | biagionicp
    java.util.NoSuchElementException: Cannot access index 1 when size is 0. Remember to check hasNext() before using next().

    Root Cause Analysis

    1. java.util.NoSuchElementException

      Cannot access index 1 when size is 0. Remember to check hasNext() before using next().

      at io.realm.RealmList$RealmItr.next()
    2. io.realm
      RealmList$RealmItr.next
      1. io.realm.RealmList$RealmItr.next(RealmList.java:818)
      2. io.realm.RealmList$RealmItr.next(RealmList.java:775)
      2 frames