App/UI crashed
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [X] I am not able to reproduce the bug with the latest version of vanilla NewPipe.
- [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
- [X] I have read the FAQ and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the vanilla NewPipe contribution guidelines.
Affected version
0.27.1
Steps to reproduce the bug
Started playing a video
Expected behavior
The video to play
Actual behavior
The video played for a bit and then the app crashed
Screenshots/Recordings
No response
Logs
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: GB
- Content Language: en-GB
- App Language: en_GB
- Service: none
- Version: 0.27.1
- OS: Linux Android 14 - 34
Crash log
java.lang.RuntimeException: Unable to stop service org.schabi.newpipe.player.PlayerService@4c4c759: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.setCustomActionProviders(com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector$CustomActionProvider[])' on a null object reference
at android.app.ActivityThread.handleStopService(ActivityThread.java:5158)
at android.app.ActivityThread.-$$Nest$mhandleStopService(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2447)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8623)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.setCustomActionProviders(com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector$CustomActionProvider[])' on a null object reference
at org.schabi.newpipe.player.mediasession.MediaSessionPlayerUi.updateMediaSessionActions(MediaSessionPlayerUi.java:215)
at org.schabi.newpipe.player.mediasession.MediaSessionPlayerUi.onMetadataChanged(MediaSessionPlayerUi.java:282)
at org.schabi.newpipe.player.Player.lambda$updateMetadataWith$24(Player.java:1969)
at org.schabi.newpipe.player.Player.$r8$lambda$KYxtUfH3uL0EspE7uZXU5RuyulI(Player.java:0)
at org.schabi.newpipe.player.Player$$ExternalSyntheticLambda54.accept(R8$$SyntheticClass:0)
at j$.util.AbstractList$RandomAccessSpliterator.forEachRemaining(Unknown Source:19)
at j$.util.stream.ReferencePipeline$Head.forEachOrdered(Unknown Source:10)
at org.schabi.newpipe.player.ui.PlayerUiList.call(PlayerUiList.java:88)
at org.schabi.newpipe.player.Player.updateMetadataWith(Player.java:1969)
at org.schabi.newpipe.player.Player.lambda$onEvents$15(Player.java:1454)
at org.schabi.newpipe.player.Player.$r8$lambda$Eed-B0TnQ_k8Al2mcJ0rZUnzA4o(Player.java:0)
at org.schabi.newpipe.player.Player$$ExternalSyntheticLambda44.accept(R8$$SyntheticClass:0)
at j$.util.Optional.ifPresent(Unknown Source:4)
at org.schabi.newpipe.player.Player.lambda$onEvents$16(Player.java:1448)
at org.schabi.newpipe.player.Player.$r8$lambda$GPJl-DFJZV0t5Qs0X5bQ_Y1vCXM(Player.java:0)
at org.schabi.newpipe.player.Player$$ExternalSyntheticLambda9.accept(R8$$SyntheticClass:0)
at j$.util.Optional.ifPresent(Unknown Source:4)
at org.schabi.newpipe.player.Player.onEvents(Player.java:1426)
at com.google.android.exoplayer2.ExoPlayerImpl.lambda$new$0(ExoPlayerImpl.java:266)
at com.google.android.exoplayer2.ExoPlayerImpl.$r8$lambda$FaN7Odt_OJn5xWFlmhnR2OmiNMg(ExoPlayerImpl.java:0)
at com.google.android.exoplayer2.ExoPlayerImpl$$ExternalSyntheticLambda1.invoke(R8$$SyntheticClass:0)
at com.google.android.exoplayer2.util.ListenerSet$ListenerHolder.release(ListenerSet.java:320)
at com.google.android.exoplayer2.util.ListenerSet.remove(ListenerSet.java:183)
at com.google.android.exoplayer2.ExoPlayerImpl.removeListener(ExoPlayerImpl.java:1641)
at org.schabi.newpipe.player.Player.destroyPlayer(Player.java:604)
at org.schabi.newpipe.player.Player.destroy(Player.java:631)
at org.schabi.newpipe.player.PlayerService.cleanup(PlayerService.java:150)
at org.schabi.newpipe.player.PlayerService.onDestroy(PlayerService.java:145)
at android.app.ActivityThread.handleStopService(ActivityThread.java:5138)
... 11 more
Affected Android/Custom ROM version
GrapheneOS 2024071600
Affected device model
Google Pixel 6a (bluejay)
Additional information
There is a problem where my phone keeps disconnecting from my WiFi that I was using at the time, which was happening before this bug happened. No idea if that's relevant or not, just putting that there just in case.
I don't know how I'm supposed to try and reproduce this bug in upstream NewPipe. It just came out of nowhere. But I did try and fail.
probally "duplicate" of #116
All videos do not play
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=etjwwlafues
- Content Country: US
- Content Language: en-US
- App Language: en_US_#u-mu-fahrenhe
- Service: YouTube
- Version: 0.27.1
- OS: Linux Android 14 - 34
Crash log
com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.os.HandlerThread.run(HandlerThread.java:85)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:422)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)
at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
at com.google.android.exoplayer2.source.chunk.InitializationChunk.load(InitializationChunk.java:99)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
All videos are now failing to play. When they were still playing earlier today, crashes were frequent.
@c1uodOS @gqqjhffr does no one check upstream anymore: https://github.com/TeamNewPipe/NewPipe/issues/11255
403 error came back again
It happens with any YouTube video. I cant see any notification.
Can change New app icon ??
Ui Crashed on Infinix Smart 2 HD
Affected version 0.27.2
Sometime when ui start to Glitch on landscape or portrait???
App crashed randomly, and videos dont play or load. Found upstream link above, and it appears this issue is the "ghost in the closet". It keeps coming back.
Could not get this to reliably reproduce over the course of 1 hour.
Exception
- User Action: play stream
- Request: Player error[type=ERROR_CODE_IO_BAD_HTTP_STATUS] occurred while playing https://www.youtube.com/watch?v=wP3r5jY90aU
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: YouTube
- Timestamp: 2025-02-22T07:37:24.443-06:00
- Package: org.polymorphicshade.tubular
- Service: YouTube
- Version: 0.27.6
- OS: Linux samsung/e3quew/e3q:14/UP1A.231005.007/S928U1UEU4AXK4:user/release-keys 14 - 34
Crash log
com.google.android.exoplayer2.ExoPlaybackException: Source error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:616)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
at org.schabi.newpipe.player.datasource.YoutubeHttpDataSource.open(YoutubeHttpDataSource.java:425)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:263)
at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:52)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:796)
at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:609)
at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
at com.google.android.exoplayer2.source.chunk.InitializationChunk.load(InitializationChunk.java:99)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)