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

[Bug] Crash when unlocking screen on fullscreen video #497

Open
4 tasks done
Ladas552 opened this issue Nov 5, 2024 · 0 comments
Open
4 tasks done

[Bug] Crash when unlocking screen on fullscreen video #497

Ladas552 opened this issue Nov 5, 2024 · 0 comments

Comments

@Ladas552
Copy link

Ladas552 commented Nov 5, 2024

Checklist (Your issue will be automatically closed if you delete this part)

  • No "Found a solution for the error you encountered" notification was shown when opening the error report.
  • I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I have attached the error report in the issue.

Describe the bug
i watched a video in full screen, locked the screen, came back after a while, unlocked the screen. the UI was all in horizontal mode without the video, Tapped the back button on my phone, ui turned into portrait and app crashed
Steps to reproduce the bug
Open video in full screen
Pause video
Lock the screen
Unlock the screen
Press back on your device, ither a button or a gesture
Device (e.g. Pixel 9 Pro)
Realme 8 Pro
Error report
i watched a video in full screen, locked the screen, came back after a while, unlocked the screen. the UI was all in horizontal modr without the video, Tapped the back button on my phone, ui turned into portrait and app crashed

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: KZ
  • Content Language: en-KZ
  • App Language: en_KZ
  • Service: none
  • Version: 3.9.0
  • OS: Linux Android 13 - 33
Crash log

java.lang.NullPointerException: Attempt to read from field 'com.google.android.material.appbar.AppBarLayout org.schabi.newpipe.databinding.FragmentVideoDetailBinding.appBarLayout' on a null object reference in method 'void org.schabi.newpipe.fragments.detail.VideoDetailFragment$5.onSlide(android.view.View, float)'
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment$5.onSlide(VideoDetailFragment.java:2469)
	at com.google.android.material.bottomsheet.BottomSheetBehavior.dispatchOnSlide(BottomSheetBehavior.java:1766)
	at com.google.android.material.bottomsheet.BottomSheetBehavior$4.onViewPositionChanged(BottomSheetBehavior.java:1604)
	at androidx.customview.widget.ViewDragHelper.continueSettling(ViewDragHelper.java:779)
	at com.google.android.material.bottomsheet.BottomSheetBehavior$SettleRunnable.run(BottomSheetBehavior.java:1875)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1388)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1396)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1033)
	at android.view.ChoreographerExtImpl.checkScrollOptSceneEnable(ChoreographerExtImpl.java:411)
	at android.view.Choreographer.doFrame(Choreographer.java:900)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1371)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:240)
	at android.os.Looper.loop(Looper.java:351)
	at android.app.ActivityThread.main(ActivityThread.java:8377)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)


Additional context

@Ladas552 Ladas552 changed the title [Bug] [Bug] Crash when unlocking screen on fullacreen video Nov 5, 2024
@Ladas552 Ladas552 changed the title [Bug] Crash when unlocking screen on fullacreen video [Bug] Crash when unlocking screen on fullscreen video Nov 5, 2024
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