NightWhistler / PageTurner

Android e-book reader with cloud synchronization
pageturner-reader.org
GNU General Public License v3.0
466 stars 221 forks source link

IndexOutOfBounds in ScrollListener #482

Closed NightWhistler closed 11 years ago

NightWhistler commented 11 years ago

java.lang.IndexOutOfBoundsException: Invalid index 5, size is 5 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at java.util.Collections$UnmodifiableList.get(Collections.java:1050) at net.nightwhistler.pageturner.catalog.CatalogListAdapter.getItem(CatalogListAdapter.java:106) at net.nightwhistler.pageturner.catalog.CatalogFragment$LoadingScrollListener$1.run(CatalogFragment.java:628) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method)