NewPipe
NewPipe copied to clipboard
App/UI crashed
Checklist
- [X] I am able to reproduce the bug with the latest version.
- [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 contribution guidelines.
Affected version
0.23.3
Steps to reproduce the bug
- Press on the three bar menu
- Go to settings
- Go to Content
- Turn on "Show Age restricted Content"
- Go back to the Home Page
- Search for Age Restricted Content
- Select an Age Restricted Video & Wait till it starts to load
Expected behavior
It is expected to play the video like any other video.
Actual behavior
The app abruptly closes.
Screenshots/Screen recordings
Logs
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: none
- Version: 0.23.3
- OS: Linux Android 12 - 32
Crash log
java.lang.RuntimeException: Unable to create service org.schabi.newpipe.player.MainPlayer: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(android.graphics.ColorFilter)' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4567)
at android.app.ActivityThread.access$1700(ActivityThread.java:256)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2110)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7872)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(android.graphics.ColorFilter)' on a null object reference
at org.schabi.newpipe.player.Player.initViews(Player.java:487)
at org.schabi.newpipe.player.Player.setupFromView(Player.java:470)
at org.schabi.newpipe.player.MainPlayer.createView(MainPlayer.java:107)
at org.schabi.newpipe.player.MainPlayer.onCreate(MainPlayer.java:100)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4554)
... 9 more
Affected Android/Custom ROM version
Android 12 | Corvus_vS3.2-Vindicate-Vanilla
Affected device model
Redmi Note 5 Pro (whyred)
Additional information
- My phone is completely De-googled (I use micro-G and aurora store)
- My phone is rooted using Magisk
Happened to me too. No rootkit.
Error:
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: US
- Content Language: en-US
- App Language: en_US
- Service: none
- Version: 0.23.3
- OS: Linux Android 10 - 29
Crash log
java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean attachToRoot)
at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:7297)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6416)
at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:288)
at androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:345)
at androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:361)
at androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:368)
at androidx.recyclerview.widget.GapWorker.run(GapWorker.java:399)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7519)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
Bruh. I'm using the custom ROM via local install using recovery method. Also happened for NewPipe trying to click channels. This is same error.
Exception
- User Action: ui error
- Request: ACRA report
- Content Country: PH
- Content Language: en-PH
- App Language: en_PH
- Service: none
- Version: 0.23.3
- OS: Linux Android 12 - 31
Crash log
io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: it.name must not be null
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:718)
at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:715)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onError(LambdaSubscriber.java:79)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:69)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:402)
at io.reactivex.rxjava3.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:176)
at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8248)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:589)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1071)
Caused by: java.lang.NullPointerException: it.name must not be null
at org.schabi.newpipe.settings.notifications.NotificationModeConfigAdapter.update(NotificationModeConfigAdapter.kt:55)
at org.schabi.newpipe.settings.notifications.NotificationModeConfigFragment.onViewCreated$lambda-0(NotificationModeConfigFragment.kt:53)
at org.schabi.newpipe.settings.notifications.NotificationModeConfigFragment.$r8$lambda$5-3HhZFEG6YoGIzMOl4lAsfp44o(Unknown Source:0)
at org.schabi.newpipe.settings.notifications.NotificationModeConfigFragment$$ExternalSyntheticLambda0.accept(Unknown Source:4)
at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65)
... 11 more
This is same error. There is not using Magisk rootkit anymore. This is stock OS or custom stock UI or launcher and tried to load NewPipe channels in notifications. Nothing to do.
I currently updated my OS to Corvus_vS4.0-Leviathan_Venilla and the app now seems to work properly as expected.