GitHub / Kotlin/kotlinx.serialization issues and pull requests
Labelled with: bug
#3015 - `polymorphicDefaultDeserializer` won't work with `useArrayPolymorphism=true`
Issue -
State: open - Opened by Komdosh 7 months ago
- 14 comments
Labels: bug
#2953 - Polymorphic Serialization Mistakenly Triggered for Generic Property with Directly Serializable Type
Issue -
State: closed - Opened by CyanTachyon 9 months ago
- 7 comments
Labels: bug
#2941 - WrappedSerialDescriptor.equals doesn't work
Issue -
State: closed - Opened by kuanyingchou 10 months ago
Labels: bug
#2919 - Crash: Could not cast value of type 'ASLMPKMapAsNSDictionary' to 'ASLMPKotlinx_serialization_jsonJsonElement'
Issue -
State: closed - Opened by nuke-dash 10 months ago
- 8 comments
Labels: bug, native, duplicate
#2901 - Ambiguous JPMS module reference in maven projects
Issue -
State: open - Opened by fzhinkin 11 months ago
- 2 comments
Labels: bug, build
#2849 - Missing json validation on parsing with intermediate JsonObject representation
Issue -
State: closed - Opened by kunyavskiy about 1 year ago
- 2 comments
Labels: bug
#2830 - Problem with deserializing singleton object in polymorphic context with custom serializer
Issue -
State: open - Opened by nsk90 about 1 year ago
- 2 comments
Labels: bug
#2820 - SerializersModule overwriteWith throws when used twice
Issue -
State: closed - Opened by gpunto about 1 year ago
- 2 comments
Labels: bug, runtime
#2810 - Bogus error messages in IntelliJ IDEA after switching to 1.7.2
Issue -
State: closed - Opened by mipastgt over 1 year ago
- 10 comments
Labels: bug
#2803 - 1.7.2 builtin UUID serializer breaks compatibility with gradle
Issue -
State: closed - Opened by mgroth0 over 1 year ago
- 7 comments
Labels: bug
#2799 - Experimental UuidSerializer breaks projects with custom UUID serializer
Issue -
State: closed - Opened by nielsvanvelzen over 1 year ago
- 11 comments
Labels: bug, runtime
#2783 - @file:UseContextualSerialization doesn't work on Kotlin 2.0.20-RC2
Issue -
State: closed - Opened by vladimirfx over 1 year ago
- 1 comment
Labels: bug, compiler-plugin
#2759 - 2.0.20 with generatedSerializer and reference to interface: SealedClassSerializer init: subclassSerializers contains null
Issue -
State: closed - Opened by hfhbd over 1 year ago
- 3 comments
Labels: bug, compiler-plugin
#2719 - ProGuard optimization causes "java.lang.VerifyError: Bad type on operand stack"
Issue -
State: closed - Opened by wtlgo over 1 year ago
- 6 comments
Labels: bug
#2717 - kotlinx-serialization-hocon 1.7.0 is not published
Issue -
State: closed - Opened by osipxd over 1 year ago
- 1 comment
Labels: bug
#2703 - `createAnnotatedEnumSerializer` and `createSimpleEnumSerializer` functions must be made ABI-public
Issue -
State: closed - Opened by broadwaylamb over 1 year ago
- 1 comment
Labels: bug
#2700 - "Object is not abstract and does not implement abstract member 'serializer'." In native
Issue -
State: closed - Opened by InsanusMokrassar over 1 year ago
- 7 comments
Labels: bug, compiler-plugin
#2692 - Serializer has not been found when I switch to Kotlin 2.0
Issue -
State: closed - Opened by iseki0 over 1 year ago
- 8 comments
Labels: bug, compiler-plugin
#2649 - OutOfMemoryError happens when try to decode the wrong ByteArray
Issue -
State: closed - Opened by sang-eun over 1 year ago
- 2 comments
Labels: bug, protobuf, runtime
#2608 - Nested classes in ProtoBuf produce empty array for native release binary
Issue -
State: closed - Opened by whyoleg over 1 year ago
- 2 comments
Labels: bug, native
#2583 - Primitives.kt RuntimeError: dereferencing a null pointer
Issue -
State: closed - Opened by VladislavSumin almost 2 years ago
- 9 comments
Labels: bug
#2535 - `encodeToJsonElement` crashes with generic `ContextualSerializer`
Issue -
State: open - Opened by httpdispatch almost 2 years ago
- 4 comments
Labels: bug, design, runtime
#2528 - java.lang.NullPointerException: Parameter specified as non-null is null: method kotlinx.serialization.SerializersKt__SerializersKt.serializer, parameter type
Issue -
State: closed - Opened by RockieHUN about 2 years ago
- 1 comment
Labels: bug
#2523 - JS: mis-compilation in situations where name of property is shadowed
Issue -
State: open - Opened by damianw about 2 years ago
Labels: bug, compiler-plugin, js
#2520 - False positive successful json parsing
Issue -
State: closed - Opened by kunyavskiy about 2 years ago
- 1 comment
Labels: bug, duplicate
#2511 - Parsing JSON with unquoted string literal to JsonElement is not prohibited in non-lenient mode
Issue -
State: open - Opened by laskovenko1 about 2 years ago
- 3 comments
Labels: bug, json
#2502 - Pretty Printing an empty class adds a newline to json object
Issue -
State: closed - Opened by luca992 about 2 years ago
- 2 comments
Labels: bug
#2495 - Shows "java.lang.IllegalAccessError: failed to access class ..." in KMP JVM target, when inheriting custom KSerializer
Issue -
State: closed - Opened by Omico about 2 years ago
- 3 comments
Labels: bug, compiler-plugin
#2492 - Transient lambdas capture wrong parameters
Issue -
State: open - Opened by adrian-shape about 2 years ago
- 2 comments
Labels: bug, compiler-plugin
#2489 - @Contextual on type that declared with @Serializable has no effect
Issue -
State: open - Opened by ssttkkl about 2 years ago
- 7 comments
Labels: bug
#2457 - Android SDK 23: Kotlin Serialization error
Issue -
State: closed - Opened by Psijic about 2 years ago
- 14 comments
Labels: bug, android, third party problem
#2449 - Serializing `emptyMap()` throws `IllegalAccessException`
Issue -
State: closed - Opened by michal-mally about 2 years ago
- 5 comments
Labels: bug, runtime
#2438 - "Unexpected JSON token at offset" error when deserializing Map<Boolean, Boolean>
Issue -
State: closed - Opened by arkivanov over 2 years ago
- 3 comments
Labels: bug, json
#2429 - The JPMS boundary should be concerned during access to serializer
Issue -
State: open - Opened by iseki0 over 2 years ago
- 11 comments
Labels: bug
#2424 - 'Problem with constructing exception message' error when executing compileKotlin task with gradle
Issue -
State: closed - Opened by octaviospain over 2 years ago
- 4 comments
Labels: bug, waiting for clarification
#2420 - Serializer forClass generates class type serializer for enums
Issue -
State: closed - Opened by abrooksv over 2 years ago
- 4 comments
Labels: bug
#2416 - Attempt to invoke virtual method kotlinx.serialization.KSerializer on a null object reference
Issue -
State: closed - Opened by tethridge over 2 years ago
- 1 comment
Labels: bug
#2413 - java.lang.IllegalAccessError when inline class is in different module and Proguard's on
Issue -
State: closed - Opened by 0xffrom over 2 years ago
- 2 comments
Labels: bug, waiting for clarification
#2401 - Protobuf repeated uint, fixed and enum serialization not working
Issue -
State: closed - Opened by Dogacel over 2 years ago
- 5 comments
Labels: bug, protobuf
#2398 - DuplicateRelativeFileException
Issue -
State: closed - Opened by mtwalli over 2 years ago
- 1 comment
Labels: bug
#2382 - Custom serializers can't be found on Kotlin/JS or Kotlin/Native if the entity implementing KSerializer is a class rather than an object
Issue -
State: open - Opened by st4r1ight over 2 years ago
- 1 comment
Labels: bug, compiler-plugin
#2375 - Incorect parsing behaviour for array of strings
Issue -
State: open - Opened by belovrv over 2 years ago
- 1 comment
Labels: bug
#2374 - Problem with value classes serialization/deserialization
Issue -
State: open - Opened by RodrigoFerreira001 over 2 years ago
Labels: bug
#2365 - compiler plugin internal error: unable to transform declaration
Issue -
State: open - Opened by ewaldc over 2 years ago
- 3 comments
Labels: bug, compiler-plugin
#2360 - Error on unquoted string gives incorrect position
Issue -
State: closed - Opened by sandwwraith over 2 years ago
Labels: bug, json
#2353 - JSON cannot parse polymorphic objects of default type object
Issue -
State: closed - Opened by ForteScarlet over 2 years ago
- 1 comment
Labels: bug, json
#2343 - JsonTreeDecoder fails to decode poymorphic class when it contains a reference to a class with same descriptor
Issue -
State: closed - Opened by ionspin over 2 years ago
Labels: bug, json
#2302 - Properties format does not handle empty List properly
Issue -
State: open - Opened by NorbertSandor over 2 years ago
- 2 comments
Labels: bug, up for grabs, Properties (format)
#2290 - Recursion detected in a lazy value
Issue -
State: closed - Opened by h-huss over 2 years ago
- 1 comment
Labels: bug, compiler-plugin
#2288 - Mismatch in deserialized/serialized serial name used for sealed value class.
Issue -
State: closed - Opened by christiandeange over 2 years ago
- 2 comments
Labels: bug
#2287 - Json.decodeFromString with data class serializers tolerates missing commas in encoded data
Issue -
State: open - Opened by gmkohler over 2 years ago
Labels: bug, json, runtime
#2265 - jvm/1.8.20 returns KSerializer<List<String>> instead of KSerializer<List<String?>>
Issue -
State: closed - Opened by simonegiacomelli over 2 years ago
- 1 comment
Labels: bug, compiler-plugin
#2241 - IndexOutOfBoundsException when serializing concrete class, unable to debug the error
Issue -
State: open - Opened by octaviospain over 2 years ago
- 12 comments
Labels: bug, compiler-plugin
#2225 - Serial name of enum key in top-level map is ignored
Issue -
State: closed - Opened by xn32 almost 3 years ago
- 4 comments
Labels: bug, compiler-plugin
#2222 - When decodeFromJsonElement, enum parameters with no default value throw NoSuchElementException
Issue -
State: closed - Opened by dahyun1226 almost 3 years ago
- 3 comments
Labels: bug, runtime
#2218 - java.lang.NoSuchMethodError when parsing a JSON stream on Java 8
Issue -
State: closed - Opened by madhead almost 3 years ago
- 3 comments
Labels: bug, runtime
#2212 - 'at path' is duplicated in MissingFieldException message
Issue -
State: closed - Opened by aSemy almost 3 years ago
Labels: bug, json
#2196 - @Contextual loses priority over @UseSerializers when used on generic argument types
Issue -
State: open - Opened by sandwwraith almost 3 years ago
Labels: bug, compiler-plugin
#2181 - `@JsonClassDiscriminator` should work on interfaces
Issue -
State: open - Opened by endorh almost 3 years ago
- 2 comments
Labels: bug
#2164 - Invalid json: Type descriminator is output in json array literals when adding unrelated polymophic serialized property to class
Issue -
State: closed - Opened by spand almost 3 years ago
- 5 comments
Labels: bug, json
#2163 - Sealed Interfaces with named companion objects do not generate serializers
Issue -
State: closed - Opened by Shengaero almost 3 years ago
- 2 comments
Labels: bug, compiler-plugin
#2159 - sealed interface with value class subtypes + JsonContentPolymorphicSerializer: Index -1 out of bounds for length 0
Issue -
State: closed - Opened by aSemy almost 3 years ago
- 1 comment
Labels: bug, json
#2103 - Expecting descriptor for kotlinx.serialization/MissingFieldException
Issue -
State: closed - Opened by ScottPierce about 3 years ago
- 2 comments
Labels: bug
#2102 - JSON Serialization of enum classes cause an unbounded IR error
Issue -
State: closed - Opened by JarnaChao09 about 3 years ago
Labels: bug
#2091 - Presence of (transient) delegated field in the serialized class breaks deserialization
Issue -
State: closed - Opened by AngryGami about 3 years ago
- 10 comments
Labels: bug, compiler-plugin
#2089 - Generating ProtoBuf schema using UInt fails
Issue -
State: closed - Opened by alexvas about 3 years ago
- 1 comment
Labels: bug
#1933 - fileSerializer not properly recognized by IntelliJ
Issue -
State: closed - Opened by Ademord over 3 years ago
- 2 comments
Labels: bug, multi-project setup
#1914 - Segmentation fault when deserialising on iOS
Issue -
State: closed - Opened by kierans over 3 years ago
- 10 comments
Labels: bug
#1809 - Exception is thrown when the Json element key contains a colon
Issue -
State: closed - Opened by nathanswanson almost 4 years ago
- 1 comment
Labels: bug
#1774 - encodeToJsonElement on an inline class throws "No tag in stack for requested element"
Issue -
State: closed - Opened by bartvanheukelom about 4 years ago
- 12 comments
Labels: bug
#1766 - Misleading IndexOutOfBoundsException when decoding JsonElement as primitive
Issue -
State: open - Opened by rgmz about 4 years ago
- 2 comments
Labels: bug, json, runtime
#1756 - Compiler plugin exception, Index out of bounds
Issue -
State: open - Opened by lamba92 about 4 years ago
- 2 comments
Labels: bug, compiler-plugin
#1736 - Sealed class serializer should be used when class is a generic upper bound
Issue -
State: closed - Opened by MEJIOMAH17 about 4 years ago
- 6 comments
Labels: bug
#1728 - Internal compiler error: Stack overflow when trying to serialize a class with star projected recursive generic bound.
Issue -
State: open - Opened by Sintrastes about 4 years ago
- 10 comments
Labels: bug, compiler-plugin
#1726 - Cannot get custom serializer reflectively when using named companion objects
Issue -
State: closed - Opened by ansman about 4 years ago
- 2 comments
Labels: bug
#1682 - Custom serializer for a generic class doesn't turn off missing serializer compiler error for the generic type
Issue -
State: closed - Opened by gohlinka2 about 4 years ago
- 1 comment
Labels: bug, compiler-plugin
#1680 - Custom generic serializer crashing compiler on JVM IR backend
Issue -
State: closed - Opened by gohlinka2 about 4 years ago
- 3 comments
Labels: bug, compiler-plugin
#1672 - @SerialInfo Accidental override: The following declarations have the same JVM signature
Issue -
State: closed - Opened by Mazel-Tovr over 4 years ago
- 2 comments
Labels: bug, compiler-plugin
#1612 - StackOverflow on recursive generic class serialization
Issue -
State: closed - Opened by altavir over 4 years ago
- 1 comment
Labels: bug, compiler-plugin
#1601 - Compiler error: serializable class containing generic sealed class subclass from other project
Issue -
State: closed - Opened by Whathecode over 4 years ago
- 1 comment
Labels: bug, compiler-plugin
#1581 - Hcon: error while trying to decode MAP + sealed class
Issue -
State: closed - Opened by SchweinchenFuntik over 4 years ago
- 5 comments
Labels: bug, runtime
#1566 - Protobuf allow field number to be set to value non in specification
Issue -
State: closed - Opened by DaviDeMeo over 4 years ago
Labels: bug, protobuf
#1561 - It's impossible to parse non-string keys (e.g. see CBOR Web Tokens)
Issue -
State: closed - Opened by wkornewald over 4 years ago
- 2 comments
Labels: bug, cbor, up for grabs
#1560 - CBOR tagged data can't be deserialized
Issue -
State: closed - Opened by wkornewald over 4 years ago
- 4 comments
Labels: bug, cbor, up for grabs
#1466 - "null" value is deserialized to null instead to "null"
Issue -
State: closed - Opened by michibe over 4 years ago
Labels: bug, json
#1455 - Thread safety broken in 1.2.0 (Kotlin 1.5)
Issue -
State: closed - Opened by bsimon36 over 4 years ago
- 12 comments
Labels: bug, json
#1441 - ArrayIndexOutOfBoundsException in appendStringSlowPath when serializing escaped characters
Issue -
State: closed - Opened by JBeet over 4 years ago
Labels: bug, json
#1433 - Kotlinx deserialization does not include properties from abstract class when using “JsonContentPolymorphicSerializer”
Issue -
State: open - Opened by iskugor over 4 years ago
- 5 comments
Labels: bug, design
#1426 - Incorrect child descriptor for a default-polymorphic open class
Issue -
State: closed - Opened by sandwwraith over 4 years ago
- 4 comments
Labels: bug, compiler-plugin
#1365 - Using wildcard import referring to an inner class crashes
Issue -
State: closed - Opened by hfhbd almost 5 years ago
- 4 comments
Labels: bug, compiler-plugin
#1332 - Crash in Kotlin/Native when parsing deeply nested structure
Issue -
State: open - Opened by Skeptick almost 5 years ago
- 2 comments
Labels: bug, native
#1297 - Serializing sub-objects raises NPE
Issue -
State: open - Opened by XuaTheGrate almost 5 years ago
- 2 comments
Labels: bug
#1274 - Serialization of generic classes in Kotlin/Native causes memory leaks
Issue -
State: closed - Opened by darvld almost 5 years ago
- 11 comments
Labels: bug, json, native, runtime
#1271 - Can't serialize generic class in sealed class
Issue -
State: closed - Opened by camdenorrb almost 5 years ago
- 2 comments
Labels: bug, design
#1207 - Can't get interface serializer
Issue -
State: closed - Opened by InsanusMokrassar about 5 years ago
- 10 comments
Labels: bug, compiler-plugin, design, Priority: 1
#1192 - Recursive call failure in IDEA when mutually declaring both Serializable(with) and Serializer(for)
Issue -
State: closed - Opened by altavir about 5 years ago
- 4 comments
Labels: bug, compiler-plugin, Priority: 1, External generated serializer
#1029 - Internal compiler error while using latest kotlinx-serialization-core:1.0.0-RC
Issue -
State: closed - Opened by khushwaqt over 5 years ago
- 14 comments
Labels: bug, compiler-plugin, kapt
#840 - IndexOutOfBoundsException by getElementDescriptor with @Serializer
Issue -
State: open - Opened by Ktlo over 5 years ago
- 5 comments
Labels: bug, compiler-plugin, Priority: 3, External generated serializer
#836 - Annotation with vararg parameters is compiled incorrectly
Issue -
State: closed - Opened by Him188 over 5 years ago
- 12 comments
Labels: bug, compiler-plugin, jvm, Priority: 2
#782 - Local value injection
Issue -
State: closed - Opened by raid-7 over 5 years ago
- 6 comments
Labels: bug, feature