Comments (7)
Switching to implementation("io.micronaut:micronaut-jackson-databind")
also doesn't reproduce
from micronaut-core.
nice thanks for the support
from micronaut-core.
I don't understand this bug report. We have passing tests for the management endpoint with jackson. Also your curl command is a GET, not a POST. And the error sounds like there's no deserializer for ConvertibleValues, but we have one for jackson and that is tested too.
from micronaut-core.
oups sorry for bad examples, here is the correct one:
curl -i -X POST -H "Content-Type: application/json" -d '{ "configuredLevel": "TRACE" }' http://localhost:8081/loggers/io.kestra
HTTP/1.1 422 Internal server error
content-type: application/json
date: Tue, 23 Apr 2024 07:32:58 GMT
content-length: 509
{"message":"Internal server error: Failed to convert argument [configuredLevel] for value [null] due to: Cannot construct instance of `io.micronaut.core.convert.value.ConvertibleValues` (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1]","_links":{"self":{"href":"/loggers/io.kestra"}}}kestra@prd-kestra-standalone-6f8b767486-lkzlw:/app$
We have the bug on Kestra, just starting the application and reaching the endpoint failed
$ docker run --rm --name test kestra/kestra:latest server local
$ docker exec -it test bash
kestra@8f55313c9efa:/app$ curl -i -X POST -H "Content-Type: application/json" -d '{ "configuredLevel": "TRACE" }' http://localhost:44369/loggers/io.kestra
HTTP/1.1 422 Internal server error
content-type: application/json
date: Tue, 23 Apr 2024 07:39:22 GMT
content-length: 509
{"message":"Internal server error: Failed to convert argument [configuredLevel] for value [null] due to: Cannot construct instance of `io.micronaut.core.convert.value.ConvertibleValues` (no Creators, like default constructor, exist): abstract typeseither need to be mapped to concrete types, have custom deserializer, or contain additional type information\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 1]","_links":{"self":{"href":"/loggers/io.kestra"}}}kestra@8f55313c9efa:/app$
from micronaut-core.
the issue has a label awaiting feedback, @sdelamo do you need any input from our end to unblock this? thanks in advance
from micronaut-core.
Tried with the latest 4.4.3 release and wasn't able to reproduce.
from micronaut-core.
I confirm this works now with 4.4.3, @tchiotludo can you close it as you are the one that opened it?
from micronaut-core.
Related Issues (20)
- AliasFor in annotation properties modify real values HOT 5
- kotlin compile error when KSP and konvert is being used HOT 1
- NotFoundSpec.test 404 handling with Flowable fails since #11002 HOT 1
- KSP: Bad type on operand stack, throws BeanInstantiationException
- Swagger-ui no longer renders in 4.6.0 HOT 1
- Micronaut 4.6.x: Static resources loading is broken HOT 5
- Property dependency on another property's value HOT 1
- Help needed to use BouncyCastle with Micronaut example HOT 1
- Wrong route matched when http request to / HOT 2
- Micronaut Data JDBC Criteria API upper and lower methods are not working correctly. HOT 1
- COROUTINE_SUSPENDED response when calling coroutine in a suspending controller function which returns Flow HOT 9
- `AnnotationClassValue.getType()` / `AnnotationClassValue.classValue("...")` returns null everytime HOT 5
- Configuration search from Consul KV is ignoring /config/application HOT 3
- Add StringConvention param to environment.getProperty() so we can disable kebab translation
- Micronaut SSE and Kotlin Flow
- Beans created by @EachBean using RemapGeneric cannot be injected when qualified by generic type arguments
- Breaking change with micronautPlatform:4.6.0 and micronaut-views-thymeleaf HOT 2
- HTTP requests - are there limitations in data structure sizes in request body? HOT 2
- Problem with service loading in native executable
- Graal dev builds broken with new class init strategy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micronaut-core.