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

Specify default values for provider icons #1155

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Conversation

atavism
Copy link
Contributor

@atavism atavism commented Aug 22, 2024

Resolves the following issue:

08-21 18:51:58.859 17375 17608 E JsonUtil: Unable to parse JSON
08-21 18:51:58.859 17375 17608 E JsonUtil: kotlinx.serialization.MissingFieldException: Field 'paymentwall' is required for type with serial name 'org.getlantern.lantern.model.Icons', but it was missing at path: $
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(SourceFile:95)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at kotlinx.serialization.json.Json.decodeFromString(SourceFile:165)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at org.getlantern.lantern.model.LanternHttpClient$plansV4$1.onSuccess(SourceFile:147)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at org.getlantern.lantern.model.LanternHttpClient$proRequest$1.onResponse(SourceFile:309)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:519)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at java.lang.Thread.run(Thread.java:1012)
08-21 18:51:58.859 17375 17608 E JsonUtil: Caused by: kotlinx.serialization.MissingFieldException: Field 'paymentwall' is required for type with serial name 'org.getlantern.lantern.model.Icons', but it was missing
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(SourceFile:20)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at org.getlantern.lantern.model.Icons.<init>(SourceFile:39)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at org.getlantern.lantern.model.Icons$$serializer.deserialize(SourceFile:39)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at org.getlantern.lantern.model.Icons$$serializer.deserialize(SourceFile:39)
08-21 18:51:58.859 17375 17608 E JsonUtil: 	at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(SourceFile:69)

@atavism atavism merged commit e0c267c into main Aug 22, 2024
2 checks passed
@atavism atavism deleted the atavism/specify-default-icons branch August 22, 2024 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant