java.lang.NumberFormatException: For input string: ""
at java.lang.Integer.parseInt(Integer.java:627)
at java.lang.Integer.parseInt(Integer.java:650)
at org.schabi.newpipe.util.ListHelper.compareVideoStreamResolution(ListHelper.java:502)
at org.schabi.newpipe.util.ListHelper.compareVideoStreamResolution(ListHelper.java:517)
at org.schabi.newpipe.util.ListHelper.$r8$lambda$UGNhfSv5KuYwsqrcThyeG189sI0(Unknown Source:0)
at org.schabi.newpipe.util.ListHelper$$ExternalSyntheticLambda2.compare(Unknown Source:4)
at java.util.Collections$ReverseComparator2.compare(Collections.java:5235)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
at java.util.TimSort.sort(TimSort.java:220)
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.util.ListHelper.sortStreamList(ListHelper.java:279)
at org.schabi.newpipe.util.ListHelper.getSortedStreamVideosList(ListHelper.java:253)
at org.schabi.newpipe.util.ListHelper.getSortedStreamVideosList(ListHelper.java:140)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.handleResult(VideoDetailFragment.java:1616)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$runWorker$6(VideoDetailFragment.java:917)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$X-UcNln23jPsop2TvHe2VPTu0NQ(Unknown Source:0)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda11.accept(Unknown Source:8)
at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
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:233)
at android.app.ActivityThread.main(ActivityThread.java:8010)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Checklist
Affected version
0.23.0
Steps to reproduce the bug
Add https://tube.network.europa.eu to the peertube servers in the settings.
Go to the video EDPS Keynote to play the video
App crashes
Expected behavior
The video plays.
Actual behavior
The app crashes.
Screenshots/Screen recordings
No response
Logs
No response
Affected Android/Custom ROM version
Android 11, Oxygen OS 11.0. 8.1
Affected device model
Oneplus 7 pro
Additional information
Exception
Crash log