TeamNewPipe/NewPipe

App Crash on mark video as watched

Open

#10.939 aberto em 3 de abr. de 2024

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)Java (3.577 forks)batch import
GUIbugfeedgood first issue

Métricas do repositório

Stars
 (38.153 stars)
Métricas de merge de PR
 (Mesclagem média 9d 17h) (17 fundiu PRs em 30d)

Description

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.26.1

Steps to reproduce the bug

  1. Youtube channels feed
  2. Mark videos as watched
  3. Pull down to update feed

Expected behavior

Update feed and remove the watched videos

Actual behavior

App crash

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: SE
  • Content Language: en-GB
  • App Language: en
  • Service: none
  • Version: 0.26.1
  • OS: Linux Android 12 - 31
java.lang.IllegalArgumentException: Cannot coerce value to an empty range: maximum 12 is less than minimum 16.
	at kotlin.ranges.RangesKt___RangesKt.coerceIn(_Ranges.kt:1413)
	at kotlin.ranges.RangesKt.coerceIn(Unknown Source:0)
	at org.schabi.newpipe.local.feed.FeedFragment.highlightNewItemsAfter(FeedFragment.kt:591)
	at org.schabi.newpipe.local.feed.FeedFragment.handleLoadedState$lambda$13(FeedFragment.kt:408)
	at org.schabi.newpipe.local.feed.FeedFragment.$r8$lambda$BLo2f7SqMRDylXOcnJDcu9Up0dM(FeedFragment.kt:0)
	at org.schabi.newpipe.local.feed.FeedFragment$$ExternalSyntheticLambda6.onUpdateComplete(R8$$SyntheticClass:0)
	at com.xwray.groupie.DiffTask.onPostExecute(DiffTask.java:61)
	at com.xwray.groupie.DiffTask.onPostExecute(DiffTask.java:18)
	at android.os.AsyncTask.finish(AsyncTask.java:771)
	at android.os.AsyncTask.access$900(AsyncTask.java:199)
	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
	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:7881)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)

Affected Android/Custom ROM version

Android 12

Affected device model

Ulefone

Additional information

No response

Guia do colaborador