-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
GUI crash when rotating phone whilst loading vidoes #6133
Comments
Hi! |
{"user_action":"ui error","request":"ACRA report","content_language":"en-AU","content_country":"AU","app_language":"en_AU","service":"none","package":"org.schabi.newpipe","version":"0.21.1","os":"Linux Android 11 - 30","time":"2021-04-19 20:01","exceptions":["java.lang.RuntimeException: Unable to start activity ComponentInfo{org.schabi.newpipe/org.schabi.newpipe.MainActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.schabi.newpipe.fragments.EmptyFragment: could not find Fragment constructor\n\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3780)\n\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3956)\n\tat android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5926)\n\tat android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5832)\n\tat android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69)\n\tat android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)\n\tat android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2295)\n\tat android.os.Handler.dispatchMessage(Handler.java:106)\n\tat android.os.Looper.loop(Looper.java:246)\n\tat android.app.ActivityThread.main(ActivityThread.java:8443)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)\nCaused by: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment org.schabi.newpipe.fragments.EmptyFragment: could not find Fragment constructor\n\tat androidx.fragment.app.Fragment.instantiate(Fragment.java:563)\n\tat androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)\n\tat androidx.fragment.app.FragmentManager$3.instantiate(FragmentManager.java:390)\n\tat androidx.fragment.app.FragmentStateManager.(FragmentStateManager.java:74)\n\tat androidx.fragment.app.FragmentManager.restoreSaveState(FragmentManager.java:2454)\n\tat androidx.fragment.app.Fragment.restoreChildFragmentState(Fragment.java:1706)\n\tat androidx.fragment.app.Fragment.onCreate(Fragment.java:1683)\n\tat org.schabi.newpipe.BaseFragment.onCreate(BaseFragment.java:55)\n\tat org.schabi.newpipe.fragments.detail.VideoDetailFragment.onCreate(VideoDetailFragment.java:279)\n\tat androidx.fragment.app.Fragment.performCreate(Fragment.java:2684)\n\tat androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:280)\n\tat androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1175)\n\tat androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1356)\n\tat androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1434)\n\tat androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1497)\n\tat androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2625)\n\tat androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:2571)\n\tat androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:236)\n\tat androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:315)\n\tat androidx.appcompat.app.AppCompatActivity.onCreate(AppCompatActivity.java:115)\n\tat org.schabi.newpipe.MainActivity.onCreate(MainActivity.java:139)\n\tat android.app.Activity.performCreate(Activity.java:8183)\n\tat android.app.Activity.performCreate(Activity.java:8167)\n\tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)\n\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3753)\n\t... 13 more\nCaused by: java.lang.NoSuchMethodException: org.schabi.newpipe.fragments.EmptyFragment. []\n\tat java.lang.Class.getConstructor0(Class.java:2332)\n\tat java.lang.Class.getConstructor(Class.java:1728)\n\tat androidx.fragment.app.Fragment.instantiate(Fragment.java:548)\n\t... 37 more\n"],"user_comment":""} Sorry I couldn't find the template. Where is it? |
Exception
Crash log
|
Ok thanks. Will do that in future. Sorry for the inconvenience. |
mine is not the actual issue template, just the "copy formatted report" button from the crash message. |
I'm not sure if this may be fixed by #5976 already? the trace there was a bit different though |
Thanks for your report! Steps to reproduce are pretty the same as in #5941 and the crash origin produced by its stacktrace is the same ( @Thomasmandrel If you want the issue templates and if you are using a GitHub client which doesn't support issue templates, here is the link of they: bug report, feature request. If you are using the GitHub website, it should be shown when you open a new issue. (Sorry for my English.) |
All good. Thanks for the templates! |
In the video demonstrate it with one video but I was able to replicate it with lots of them. Some videos loaded much quicker, so the chances of getting a bad timing were low.
MP4_20210421_203435.mp4
The text was updated successfully, but these errors were encountered: