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

Startup errors opening videos #6976

Closed
3 of 4 tasks
heberjeur opened this issue Aug 25, 2021 · 12 comments · Fixed by #7056
Closed
3 of 4 tasks

Startup errors opening videos #6976

heberjeur opened this issue Aug 25, 2021 · 12 comments · Fixed by #7056
Labels
bug Issue is related to a bug

Comments

@heberjeur
Copy link

heberjeur commented Aug 25, 2021

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
@heberjeur heberjeur added the bug Issue is related to a bug label Aug 25, 2021
@heberjeur

This comment has been minimized.

@heberjeur

This comment has been minimized.

@litetex
Copy link
Member

litetex commented Aug 28, 2021

No I don't have that error otherwise I would have reported/up-voted it😉

I can't see an obvious error in the code according to the bug report, so I guess we need more information here.

Does e.g. dis/enabling suggestions fix the problem or any other option that may be related to the problem?
Does it also fail when you reset the app (clearing all app-data)? - Keep in mind that you may want to export your setting first 😉

Also please fill out the checklist completely (fixed the broken format for you so far) :)

@triallax
Copy link
Contributor

triallax commented Oct 21, 2021

Is this still present in the latest version (0.21.12)?

@triallax triallax added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 21, 2021
@heberjeur

This comment was marked as resolved.

@heberjeur

This comment was marked as off-topic.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 22, 2021
@heberjeur

This comment was marked as off-topic.

@heberjeur

This comment was marked as off-topic.

@litetex

This comment was marked as resolved.

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 23, 2021
@heberjeur

This comment was marked as off-topic.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 23, 2021
@heberjeur

This comment was marked as resolved.

@SameenAhnaf
Copy link
Collaborator

SameenAhnaf commented Apr 24, 2023

#6231

@SameenAhnaf SameenAhnaf added template ignored The user didn't follow the template/instructions (or removed them) duplicate Issue or discussion is a duplicate of an existing issue or discussion and removed bug Issue is related to a bug labels Apr 24, 2023
@ShareASmile ShareASmile added bug Issue is related to a bug and removed template ignored The user didn't follow the template/instructions (or removed them) duplicate Issue or discussion is a duplicate of an existing issue or discussion labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants