Skip to content

Startup errors opening videos #6976

@heberjeur

Description

@heberjeur

Checklist

Steps to reproduce the bug

  1. Go to search icon , trending menu,what's new, history menu,
  2. Press on any video and don't wait thumbnails of videos
  3. The crash appears

Actual behavior

The app crash 10-15 per day, it is really painful to wait 5-7 sec every time when I opened NewPipe !

Expected behavior

The normal situation that I can use the NewPipe from the first 0 seconds of opening the app

Screenshots/Screen recordings

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: TN
  • Content Language: fr
  • App Language: en
  • Service: none
  • Version: 0.21.9
  • OS: Linux samsung/a50dd/a50:11/RP1A.200720.012/A505FDDU8CUE5:user/release-keys 11 - 30
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: Attempt to read from field 'androidx.recyclerview.widget.RecyclerView org.schabi.newpipe.databinding.FragmentSearchBinding.suggestionsList' on a null object reference
	at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:717)
	at io.reactivex.rxjava3.internal.functions.Functions$OnErrorMissingConsumer.accept(Functions.java:714)
	at io.reactivex.rxjava3.internal.observers.LambdaObserver.onError(LambdaObserver.java:77)
	at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext(LambdaObserver.java:67)
	at io.reactivex.rxjava3.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
	at io.reactivex.rxjava3.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
	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.loop(Looper.java:246)
	at android.app.ActivityThread.main(ActivityThread.java:8512)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.NullPointerException: Attempt to read from field 'androidx.recyclerview.widget.RecyclerView org.schabi.newpipe.databinding.FragmentSearchBinding.suggestionsList' on a null object reference
	at org.schabi.newpipe.fragments.list.search.SearchFragment.handleSuggestions(SearchFragment.java:971)
	at org.schabi.newpipe.fragments.list.search.SearchFragment.lambda$initSuggestionObserver$15(SearchFragment.java:817)
	at org.schabi.newpipe.fragments.list.search.SearchFragment.lambda$initSuggestionObserver$15$SearchFragment(Unknown Source:0)
	at org.schabi.newpipe.fragments.list.search.-$$Lambda$SearchFragment$q2wTJo-kDxgd91qkgYweNQgQ484.accept(Unknown Source:4)
	at io.reactivex.rxjava3.internal.observers.LambdaObserver.onNext(LambdaObserver.java:63)
	... 10 more


Device info

  • Android version: 11
  • Device model: Samsung A50 SM-A505F

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions