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

com.google.gson.stream.MalformedJsonException #5075

Closed
Okuro3499 opened this issue Jan 20, 2025 · 0 comments · Fixed by #5080 · May be fixed by #5076
Closed

com.google.gson.stream.MalformedJsonException #5075

Okuro3499 opened this issue Jan 20, 2025 · 0 comments · Fixed by #5080 · May be fixed by #5076
Assignees

Comments

@Okuro3499
Copy link
Collaborator

com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 1 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1754)
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1550)
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:676)
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:507)
	at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:865)
	at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:820)
	at com.google.gson.internal.bind.TypeAdapters$34$1.read(TypeAdapters.java:1144)
	at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:40)
	at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:27)
	at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:246)
	at retrofit2.OkHttpCall.execute(OkHttpCall.java:207)
	at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute(DefaultCallAdapterFactory.java:108)
	at org.ole.planet.myplanet.datamanager.Service$getMinApk$2$result$1$deferredResults$1$1.invokeSuspend(Service.kt:380)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant