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

Crash: swiping to a notification next to a pingback notification #7973

Closed
koke opened this issue Jul 2, 2018 · 4 comments
Closed

Crash: swiping to a notification next to a pingback notification #7973

koke opened this issue Jul 2, 2018 · 4 comments

Comments

@koke
Copy link
Member

koke commented Jul 2, 2018

I noticed a crash when using notifications: if you open a notification, then swipe left/right to move to a different notification, the app will crash when you reach a notification where the next one would be a pingback notification.

I've tried to debug this but I'm not sure how to make the android debugger stop on crash. I'm seeing this on the debug console though:

E/AndroidRuntime: FATAL EXCEPTION: main
                  Process: org.wordpress.android, PID: 13542
                  java.lang.ClassCastException: org.wordpress.android.widgets.WPTextView cannot be cast to android.view.ViewGroup
                      at android.support.v4.app.FragmentTransition.configureTransitionsOrdered(FragmentTransition.java:310)
                      at android.support.v4.app.FragmentTransition.startTransitions(FragmentTransition.java:134)
                      at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2380)
                      at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)
                      at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)
                      at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:703)
                      at android.os.Handler.handleCallback(Handler.java:751)
                      at android.os.Handler.dispatchMessage(Handler.java:95)
                      at android.os.Looper.loop(Looper.java:154)
                      at android.app.ActivityThread.main(ActivityThread.java:6123)
                      at java.lang.reflect.Method.invoke(Native Method)
                      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Tested on Moto G5 Plus, Android 7.0
@koke
Copy link
Member Author

koke commented Jul 11, 2018

This only happens for a specific notification that happens to be a pingback, but I've tried on different accounts and pingback notifications and it only happens in this one.

@designsimply
Copy link
Contributor

I tried testing this with 13.6-rc-1 and couldn't replicate the crash. (25s) 😕
Tested with WPAndroid 13.6-rc-1 on Pixel 3 Android 10.

@designsimply
Copy link
Contributor

Setting to low priority unless it comes up again or can be re-confirmed.

@designsimply designsimply added this to To Do in Groundskeeping via automation Nov 6, 2019
@designsimply designsimply moved this from To Do to Prioritized Android in Groundskeeping Nov 6, 2019
@malinajirka
Copy link
Contributor

malinajirka commented Nov 19, 2019

I checked Sentry and the app haven't crashed to anyone with this exception in the last 90 days => we probably fixed it in another issue => closing.

Groundskeeping automation moved this from Prioritized Android to Done Nov 18-29, 2019 Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Groundskeeping
  
Done Nov 18-29, 2019
Development

No branches or pull requests

3 participants