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 when changing accounts #1985

Closed
1 task done
isteinbach opened this issue Nov 15, 2020 · 1 comment · Fixed by #1989
Closed
1 task done

App crashes when changing accounts #1985

isteinbach opened this issue Nov 15, 2020 · 1 comment · Fixed by #1989

Comments

@isteinbach
Copy link

How to repeat:

  • (at least) two accounts configured in Tusky
  • switch from one account to the other
  • the app crashes in many cases (not always)
  • after re-opening it, the other account can be operated on normally
  • logcat_11-15-2020_12-31-40.txt might give some more insight

  • Tusky Version: 12.1 (from F-Droid repository)

  • Android Version: 7.1.2 (FairPhone build 19.11.2 with GMS)

  • Android Device: FairPhone2

  • Mastodon instance (if applicable): various; in my case mastodon.online and social.tchncs.de

  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.

@connyduck
Copy link
Collaborator

Here is a deobfuscated stack trace

java.lang.IllegalArgumentException: 
  at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed (RequestManagerRetriever.java:317)
  at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetriever.java:128)
  at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetriever.java:108)
  at com.bumptech.glide.Glide.with (Glide.java:776)
  at com.keylesspalace.tusky.MainActivity$setupDrawer$2.cancel (MainActivity.java:329)
  at com.mikepenz.materialdrawer.util.DrawerImageLoader.cancelImage (DrawerImageLoader.java:56)
  at com.mikepenz.materialdrawer.model.ProfileDrawerItem.unbindView (ProfileDrawerItem.java:137)
  at com.mikepenz.materialdrawer.model.ProfileDrawerItem.unbindView (ProfileDrawerItem.java:21)
  at com.mikepenz.fastadapter.listeners.OnBindViewHolderListenerImpl.unBindViewHolder (OnBindViewHolderListenerImpl.java:36)
  at com.mikepenz.fastadapter.FastAdapter.onViewRecycled (FastAdapter.java:410)
  at androidx.recyclerview.widget.RecyclerView$Recycler.dispatchViewRecycled (RecyclerView.java:6769)
  at androidx.recyclerview.widget.RecyclerView$Recycler.addViewHolderToRecycledViewPool (RecyclerView.java:6538)
  at androidx.recyclerview.widget.RecyclerView$Recycler.recycleViewHolderInternal (RecyclerView.java:6491)
  at androidx.recyclerview.widget.RecyclerView.removeAnimatingView (RecyclerView.java:1456)
  at androidx.recyclerview.widget.RecyclerView$ItemAnimatorRestoreListener.onAnimationFinished (RecyclerView.java:12699)
  at androidx.recyclerview.widget.RecyclerView$ItemAnimator.dispatchAnimationFinished (RecyclerView.java:13199)
  at androidx.recyclerview.widget.SimpleItemAnimator.dispatchRemoveFinished (SimpleItemAnimator.java:277)
  at androidx.recyclerview.widget.SimpleItemAnimator.dispatchRemoveFinished (SimpleItemAnimator.java:4)
  at androidx.recyclerview.widget.DefaultItemAnimator$4.onAnimationEnd (DefaultItemAnimator.java:213)
  at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd (ViewPropertyAnimator.java:1122)
  at android.animation.Animator$AnimatorListener.onAnimationEnd (Animator.java:552)
  at android.animation.ValueAnimator.endAnimation (ValueAnimator.java:1232)
  at android.animation.ValueAnimator.cancel (ValueAnimator.java:1117)
  at android.view.ViewPropertyAnimator.cancel (ViewPropertyAnimator.java:428)
  at androidx.recyclerview.widget.DefaultItemAnimator.cancelAll (DefaultItemAnimator.java:642)
  at androidx.recyclerview.widget.DefaultItemAnimator.endAnimations (DefaultItemAnimator.java:632)
  at androidx.recyclerview.widget.RecyclerView.onDetachedFromWindow (RecyclerView.java:2996)
  at android.view.View.dispatchDetachedFromWindow (View.java:18419)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3777)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:3769)
  at android.view.ViewRootImpl.dispatchDetachedFromWindow (ViewRootImpl.java:3831)
  at android.view.ViewRootImpl.doDie (ViewRootImpl.java:6783)
  at android.view.ViewRootImpl.die (ViewRootImpl.java:6760)
  at android.view.WindowManagerGlobal.removeViewLocked (WindowManagerGlobal.java:458)
  at android.view.WindowManagerGlobal.removeView (WindowManagerGlobal.java:396)
  at android.view.WindowManagerImpl.removeViewImmediate (WindowManagerImpl.java:126)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:4520)
  at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:39)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1814)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:280)
  at android.app.ActivityThread.main (ActivityThread.java:6706)
  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)

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

Successfully merging a pull request may close this issue.

2 participants