Doesn’t matter what I do, which instance I’m on, Android app crashes every time I start a video. I’ve reinstalled several times, didn’t solve anything. Clean install - pick an instance - start random video - crash. What do? I left NewPipe SponsorBlock for LT because NP started crashing all the time…
ETA: referringtoboth 0.17.1 and 0.18.1
I have the same issue. This is my crashreport
kotlinx.datetime.DateTimeFormatException: j$.time.format.DateTimeParseException: Text '2023-10-11T15:18:46-07:00' could not be parsed, unparsed text found at index 10 at kotlinx.datetime.LocalDate$Companion.parse(SourceFile:20) at kotlinx.datetime.serializers.LocalDateIso8601Serializer.deserialize(SourceFile:15) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue$1(SourceFile:68) at okio._UtilKt.decodeSerializableElement(SourceFile:11) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(SourceFile:50) at com.github.libretube.api.obj.Streams$$serializer.deserialize(SourceFile:555) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue$1(SourceFile:68) at kotlinx.serialization.json.Json.decodeFromString(SourceFile:26) at com.jakewharton.retrofit2.converter.kotlinx.serialization.DeserializationStrategyConverter.convert(SourceFile:33) at retrofit2.OkHttpCall.parseResponse(SourceFile:57) at retrofit2.OkHttpCall$1.onResponse(SourceFile:5) at androidx.appcompat.app.AlertController$2.onSuccess(SourceFile:34) at androidx.work.Worker$2.run(SourceFile:131) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@e16a52a, Dispatchers.IO] Caused by: j$.time.format.DateTimeParseException: Text '2023-10-11T15:18:46-07:00' could not be parsed, unparsed text found at index 10 at j$.time.format.DateTimeFormatter.parseResolved0(Unknown Source:160) at j$.time.format.DateTimeFormatter.parse(Unknown Source:11) at j$.time.LocalDate.parse(Unknown Source:10) at j$.time.LocalDate.parse(Unknown Source:2) at kotlinx.datetime.LocalDate$Companion.parse(SourceFile:6) ... 15 more
Same
The error message is obvious. It’s getting an invalid date object and can’t parse it so it crashes. The network call isn’t handling error cases and tries to serialize the object without catching the error. The network response might have the invalid date most likely, do the app needs to handle such a case.
What app is this? LibreTube… got it.
Yeah smthng about dates causing errors is what I understood too. The app seems to be up to date tho. At least F-droid is not finding a newer version.
According to this ticket, it should be in the next release.
https://github.com/libre-tube/LibreTube/issues/4884