-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
kotlinx.serialization.SerializationException: Serializer for class 'ArrayList' is not found. #29336
Comments
/cc @evanchooly, @geoand |
Thanks for reporting. I'll have a look soon |
Thanks @geoand |
#29373 takes care of the problem |
geoand
added a commit
that referenced
this issue
Nov 21, 2022
Ensure proper generic type is used with RestResponse
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Nov 22, 2022
Fixes: quarkusio#29336 (cherry picked from commit 1d8a05f)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Dec 14, 2022
Fixes: quarkusio#29336 (cherry picked from commit 1d8a05f)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi,
thanks for the fix of #28134
But it looks like this has introduced a new issue.
When using Lists, with a ResponseBuilder
RestResponse.ResponseBuilder.ok(mutableListOf("apples"))
Expected behavior
I expect a response body should be
["apples"]
.Actual behavior
Respnse:
Stack trace:
How to Reproduce?
Reproducer: https://github.com/qaltrak/Serializer-error-demo
/hello
Output of
uname -a
orver
Darwin OlufemisworkMBP.localdomain 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64
Output of
java -version
openjdk version "17.0.1" 2021-10-19 OpenJDK Runtime Environment (build 17.0.1+12-39) OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.14.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)------------------------------------------------------------ Gradle 7.4.2 ------------------------------------------------------------ Build time: 2022-03-31 15:25:29 UTC Revision: 540473b8118064efcc264694cbcaa4b677f61041 Kotlin: 1.5.31 Groovy: 3.0.9 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 17.0.1 (Oracle Corporation 17.0.1+12-39) OS: Mac OS X 12.5.1 aarch64
Additional information
No response
The text was updated successfully, but these errors were encountered: