Android app crashes

3 years ago by kWazt to c/libretube

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

Emanuel 2 points 3 years ago

This was fixed on version 0.19.0.

path: 0 4495443, hotness: undefined, score: 2, children: 1
kWazt 1 point 3 years ago

Thanks for the assist!

path: 0 4495443 4495700, hotness: undefined, score: 1, children: 0
netchami 1 point 3 years ago
path: 0 4827683, hotness: undefined, score: 1, children: 2
droopy4096 2 points 3 years ago

that was really helpful here. After hopping between Piped instances I finally found the one that works. Will take a note to do that in the future.

I'm guessing this may also be a result of google slamming the doors shut for 3rd party access lest it uses their ads-ridden API

path: 0 4827683 5048541, hotness: undefined, score: 2, children: 1
netchami 0 points 3 years ago
path: 0 4827683 5048541 5052863, hotness: undefined, score: 0, children: 0
K4mpfie 1 point 3 years ago

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

path: 0 4467173, hotness: undefined, score: 1, children: 4
ohlaph 2 points 3 years ago

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.

path: 0 4467173 4494617, hotness: undefined, score: 2, children: 2
K4mpfie 1 point 3 years ago

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.

path: 0 4467173 4494617 4501349, hotness: undefined, score: 1, children: 1
ohlaph 2 points 3 years ago path: 0 4467173 4494617 4501349 4501784, hotness: undefined, score: 2, children: 0
Irishscotchburner 2 points 3 years ago

Same

path: 0 4467173 4494027, hotness: undefined, score: 2, children: 0
libretube
libretube

@feddit.rocks

login for more options
313
27
1

An alternative frontend for YouTube, for Android.

https://github.com/libre-tube/LibreTube

go to feed...