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

During a watching video After clicking on the download button, the app crashes when I click on the back button #17

Open
friendsmobile opened this issue May 31, 2019 · 0 comments

Comments

@friendsmobile
Copy link

Project Information

Expected behavior

The application should not crash when I click on the download button while watching a video and then click on the back button

Actual behavior

During a watching video After clicking on the download button, the app crashes when I click on the back button

How to reproduce

  • Download the app

  • Play any video

  • Click on the download button while watching a video

  • And then click on the back button

  • Note the BUG

  • Browser/App version: 3.1.1

  • Operating system: 6.0

Recording Of The Bug

20190601_030904

Logcat

E/AndroidRuntime(16429): FATAL EXCEPTION: main

E/AndroidRuntime(16429): Process: com.teocci.ytinbg, PID: 16429

E/AndroidRuntime(16429): java.lang.RuntimeException: Unable to resume activity {com.teocci.ytinbg/com.teocci.ytinbg.ui.MainActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

E/AndroidRuntime(16429): 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3409)

E/AndroidRuntime(16429): 	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3440)

E/AndroidRuntime(16429): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474)

E/AndroidRuntime(16429): 	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(16429): 	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(16429): 	at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(16429): 	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(16429): 	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(16429): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(16429): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

E/AndroidRuntime(16429): Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

E/AndroidRuntime(16429): 	at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:2053)

E/AndroidRuntime(16429): 	at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:2079)

E/AndroidRuntime(16429): 	at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:678)

E/AndroidRuntime(16429): 	at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:632)

E/AndroidRuntime(16429): 	at com.teocci.ytinbg.ui.MainActivity.onResume(MainActivity.java:241)

E/AndroidRuntime(16429): 	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)

E/AndroidRuntime(16429): 	at android.app.Activity.performResume(Activity.java:6297)

E/AndroidRuntime(16429): 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3398)
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