NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Exception on pressing back arrow

Open Brimont opened this issue 8 years ago • 15 comments

when you open YouTube link from your browser and press left arrow in newpipe an exception will show up.

Exception

  • User Action: ui error
  • Request: App crash, UI failure
  • Content Language: IT
  • Service: none
  • Version: 0.14.1
  • OS: Linux Android 4.2.1 - 17
java.lang.NullPointerException
	at android.widget.Spinner.makeAndAddView(Spinner.java:546)
	at android.widget.Spinner.layout(Spinner.java:495)
	at android.widget.Spinner.onLayout(Spinner.java:459)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.support.v7.widget.Toolbar.layoutChildLeft(Toolbar.java:1948)
	at android.support.v7.widget.Toolbar.onLayout(Toolbar.java:1887)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1441)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1171)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1441)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1670)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1528)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1441)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
	at android.view.View.layout(View.java:14099)
	at android.view.ViewGroup.layout(ViewGroup.java:4464)
	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2183)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1947)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1139)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4879)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)
	at android.view.Choreographer.doCallbacks(Choreographer.java:579)
	at android.view.Choreographer.doFrame(Choreographer.java:548)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)
	at android.os.Handler.handleCallback(Handler.java:725)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:153)
	at android.app.ActivityThread.main(ActivityThread.java:5297)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
	at dalvik.system.NativeStart.main(Native Method)

-------------------

screenshot_2018-09-08-11-45-00 Test this link https://m.youtube.com/watch?v=4cyiL8n-5P8

Brimont avatar Sep 08 '18 09:09 Brimont

Can not confirl. Please give further information.

theScrabi avatar Sep 08 '18 13:09 theScrabi

@TheScrabi test with emulator android 4.2

Brimont avatar Sep 09 '18 10:09 Brimont

every time I open a browser link when I press the back arrow the app crashes

Brimont avatar Sep 09 '18 10:09 Brimont

Do you go straight to the video page or the info page?

gkeegan avatar Sep 09 '18 18:09 gkeegan

I have recording a video of my phone

https://streamable.com/8atkm

Brimont avatar Sep 10 '18 19:09 Brimont

@theScrabi @gkeegan my video si fine?

Brimont avatar Sep 10 '18 20:09 Brimont

Yrs i get it its when you return to that selection menu :/

theScrabi avatar Sep 10 '18 23:09 theScrabi

@theScrabi thanks for help me :)

Brimont avatar Sep 11 '18 06:09 Brimont

@Brimont what is in your mein page, because it seems that the back button it self is not causing the error.

theScrabi avatar Sep 11 '18 11:09 theScrabi

screenshot_2018-09-11-14-15-28 screenshot_2018-09-11-14-15-34 screenshot_2018-09-11-14-15-40

Brimont avatar Sep 11 '18 12:09 Brimont

My inscriptions of YouTube channel https://anonfile.com/X1f9p4h7b4/newpipe_subscriptions_201809061550_json

Brimont avatar Sep 11 '18 12:09 Brimont

I still have absolutely de explanation how to reproduce this bug. Maybe this is a phone related issue due to android segmentation.

theScrabi avatar Sep 11 '18 13:09 theScrabi

@theScrabi try to use emulator of android (android studio or genymotion)

Brimont avatar Sep 11 '18 13:09 Brimont

I have this phone www.mediacomeurope.it/Prodotti/Scheda.aspx?XRI=2181

Brimont avatar Sep 11 '18 13:09 Brimont

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 01 '18 10:12 stale[bot]