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

Crash after importing Youtube subscriptions #3147

Closed
3 tasks done
signed-log opened this issue Feb 27, 2020 · 2 comments
Closed
3 tasks done

Crash after importing Youtube subscriptions #3147

signed-log opened this issue Feb 27, 2020 · 2 comments
Labels
bug Issue is related to a bug

Comments

@signed-log
Copy link

signed-log commented Feb 27, 2020

Exception

  • User Action: ui error
  • Request: App crash, UI failure
  • Content Language: en_GB
  • Service: none
  • Version: 0.18.5
  • OS: Linux samsung/beyond2lteeea/beyond2:10/QP1A.190711.020/G975FXXU3BSKO:user/release-keys 10 - 29
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.compareToIgnoreCase(java.lang.String)' on a null object reference
	at org.schabi.newpipe.local.subscription.SubscriptionFragment.lambda$getSubscriptionItems$7(SubscriptionFragment.java:541)
	at org.schabi.newpipe.local.subscription.-$$Lambda$SubscriptionFragment$eFd3y39Ymdl4aGqv994n0BdEByk.compare(Unknown Source:4)
	at java.util.TimSort.binarySort(TimSort.java:296)
	at java.util.TimSort.sort(TimSort.java:239)
	at java.util.Arrays.sort(Arrays.java:1492)
	at java.util.ArrayList.sort(ArrayList.java:1470)
	at java.util.Collections.sort(Collections.java:206)
	at org.schabi.newpipe.local.subscription.SubscriptionFragment.getSubscriptionItems(SubscriptionFragment.java:539)
	at org.schabi.newpipe.local.subscription.SubscriptionFragment.handleResult(SubscriptionFragment.java:522)
	at org.schabi.newpipe.local.subscription.SubscriptionFragment$4.onNext(SubscriptionFragment.java:498)
	at org.schabi.newpipe.local.subscription.SubscriptionFragment$4.onNext(SubscriptionFragment.java:489)
	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:119)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:237)
	at android.app.ActivityThread.main(ActivityThread.java:7762)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)


This crash happens when you're importing Youtube subsciption list and leaving the page with the youtube link using the back key, It crashes and never opens again
@Stypox
Copy link
Member

Stypox commented Feb 27, 2020

Could you provide the subscriptions file (only if you don't think this does violates your privacy)?

@Stypox Stypox added bug Issue is related to a bug more info needed labels Mar 8, 2020
@Stypox
Copy link
Member

Stypox commented Mar 8, 2020

Duplicate of #2784

@Stypox Stypox marked this as a duplicate of #2784 Mar 8, 2020
@Stypox Stypox closed this as completed Mar 8, 2020
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

No branches or pull requests

2 participants