Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Crashes #54

Open
GarrettBeatty opened this issue Apr 19, 2019 · 1 comment
Open

App Crashes #54

GarrettBeatty opened this issue Apr 19, 2019 · 1 comment

Comments

@GarrettBeatty
Copy link
Owner

The app crashes randomly when scrolling. I have not been able to identify the cause of this yet.

@GarrettBeatty
Copy link
Owner Author

GarrettBeatty commented Apr 19, 2019

Below are some of the main crashes for the app.

java.lang.IndexOutOfBoundsException: 
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:389)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:14)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:15)
  at android.support.v7.widget.GapWorker.b (GapWorker.java:22)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:3)
  at android.support.v7.widget.GapWorker.run (GapWorker.java:70)
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:193)
  at android.app.ActivityThread.main (ActivityThread.java:6718)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
java.lang.IndexOutOfBoundsException: 
 at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:119)
 at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:49)
 at android.support.v7.widget.GapWorker.a (GapWorker.java:14)
 at android.support.v7.widget.GapWorker.a (GapWorker.java:15)
 at android.support.v7.widget.GapWorker.b (GapWorker.java:22)
 at android.support.v7.widget.GapWorker.a (GapWorker.java:3)
 at android.support.v7.widget.GapWorker.run (GapWorker.java:70)
 at android.os.Handler.handleCallback (Handler.java:873)
 at android.os.Handler.dispatchMessage (Handler.java:99)
 at android.os.Looper.loop (Looper.java:214)
 at android.app.ActivityThread.main (ActivityThread.java:6981)
 at java.lang.reflect.Method.invoke (Method.java)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
 at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
  at java.util.concurrent.CopyOnWriteArrayList.get (CopyOnWriteArrayList.java:385)
  at java.util.concurrent.CopyOnWriteArrayList.get (CopyOnWriteArrayList.java:398)
  at com.gbeatty.arxivexplorer.paper.list.PapersPresenter.a (PapersPresenter.java:62)
  at com.gbeatty.arxivexplorer.paper.list.PapersListAdapter.c (PapersListAdapter.java:2)
  at com.afollestad.sectionedrecyclerview.PositionManager.a (PositionManager.java:23)
  at com.afollestad.sectionedrecyclerview.SectionedRecyclerViewAdapter.a (SectionedRecyclerViewAdapter.java:2)
  at ru.alexbykov.nopaginate.paginate.WrapperAdapter.a (WrapperAdapter.java:8)
  at ru.alexbykov.nopaginate.paginate.WrapperAdapter.e (WrapperAdapter.java:6)
  at ru.alexbykov.nopaginate.paginate.WrapperAdapter.d (WrapperAdapter.java:6)
  at ru.alexbykov.nopaginate.paginate.WrapperAdapter.getItemCount (WrapperAdapter.java)
  or                     .getItemViewType (WrapperAdapter.java)
  or                     .onBindViewHolder (WrapperAdapter.java)
  or                     .onCreateViewHolder (WrapperAdapter.java)
  or                     .setRepeatListener (WrapperAdapter.java)
  or                     .stateChanged (WrapperAdapter.java)
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:48)
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:49)
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:5)
  at android.support.v7.widget.RecyclerView$Recycler.c (RecyclerView.java:1)
  at android.support.v7.widget.LinearLayoutManager$LayoutState.a (LinearLayoutManager.java:11)
  at android.support.v7.widget.LinearLayoutManager.assertNotInLayoutOrScroll (LinearLayoutManager.java)
  or                     .collectAdjacentPrefetchPositions (LinearLayoutManager.java)
  or                     .collectInitialPrefetchPositions (LinearLayoutManager.java)
  or                     .collectPrefetchPositionsForLayoutState (LinearLayoutManager.java)
  or                     .fill (LinearLayoutManager.java)
  or                     .findFirstVisibleChildClosestToStart (LinearLayoutManager.java)
  or                     .findOneVisibleChild (LinearLayoutManager.java)
  or                     .findReferenceChild (LinearLayoutManager.java)
  or                     .fixLayoutEndGap (LinearLayoutManager.java)
  or                     .generateDefaultLayoutParams (LinearLayoutManager.java)
  or                     .layoutChunk (LinearLayoutManager.java)
  or                     .onAnchorReady (LinearLayoutManager.java)
  or                     .onDetachedFromWindow (LinearLayoutManager.java)
  or                     .onFocusSearchFailed (LinearLayoutManager.java)
  or                     .onInitializeAccessibilityEvent (LinearLayoutManager.java)
  or                     .onLayoutCompleted (LinearLayoutManager.java)
  or                     .onRestoreInstanceState (LinearLayoutManager.java)
  or                     .recycleByLayoutState (LinearLayoutManager.java)
  or                     .recycleChildren (LinearLayoutManager.java)
  or                     .recycleViewsFromStart (LinearLayoutManager.java)
  or                     .scrollHorizontallyBy (LinearLayoutManager.java)
  or                     .setStackFromEnd (LinearLayoutManager.java)
  or                     .smoothScrollToPosition (LinearLayoutManager.java)
  or                     .updateAnchorFromPendingData (LinearLayoutManager.java)
  or                     .updateAnchorInfoForLayout (LinearLayoutManager.java)
  or                     .updateLayoutState (LinearLayoutManager.java)
  or                     .updateLayoutStateToFillEnd (LinearLayoutManager.java)
  at android.support.v7.widget.LinearLayoutManager.a (LinearLayoutManager.java:44)
  at android.support.v7.widget.LinearLayoutManager.c (LinearLayoutManager.java:36)
  at android.support.v7.widget.LinearLayoutManager.b (LinearLayoutManager.java:6)
  at android.support.v7.widget.RecyclerView$ViewFlinger.run (RecyclerView.java:146)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)
  at android.view.Choreographer.doCallbacks (Choreographer.java:723)
  at android.view.Choreographer.doFrame (Choreographer.java:655)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)
  at android.os.Handler.handleCallback (Handler.java:789)
  at android.os.Handler.dispatchMessage (Handler.java:98)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6944)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
java.lang.NullPointerException: 
  at com.afollestad.sectionedrecyclerview.PositionManager.f (PositionManager.java:69)
  at com.afollestad.sectionedrecyclerview.SectionedRecyclerViewAdapter.g (SectionedRecyclerViewAdapter.java:2)
  at com.afollestad.sectionedrecyclerview.SectionedRecyclerViewAdapter.a (SectionedRecyclerViewAdapter.java:34)
  at ru.alexbykov.nopaginate.paginate.WrapperAdapter.a (WrapperAdapter.java:22)
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:48)
  at android.support.v7.widget.RecyclerView$Recycler.a (RecyclerView.java:49)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:14)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:15)
  at android.support.v7.widget.GapWorker.b (GapWorker.java:22)
  at android.support.v7.widget.GapWorker.a (GapWorker.java:3)
  at android.support.v7.widget.GapWorker.run (GapWorker.java:70)
  at android.os.Handler.handleCallback (Handler.java:789)
  at android.os.Handler.dispatchMessage (Handler.java:98)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6644)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant