Coder Social home page Coder Social logo

Comments (7)

graemerocher avatar graemerocher commented on July 19, 2024 1

Switching to implementation("io.micronaut:micronaut-jackson-databind") also doesn't reproduce

from micronaut-core.

tchiotludo avatar tchiotludo commented on July 19, 2024 1

nice thanks for the support

from micronaut-core.

yawkat avatar yawkat commented on July 19, 2024

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.

tchiotludo avatar tchiotludo commented on July 19, 2024

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.

anna-geller avatar anna-geller commented on July 19, 2024

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.

graemerocher avatar graemerocher commented on July 19, 2024

Tried with the latest 4.4.3 release and wasn't able to reproduce.

loggers-test.zip

from micronaut-core.

loicmathieu avatar loicmathieu commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.