You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The health endpoint returns health status and health details
Actual Behaviour
An exception: Unexpected error occurred: Error encoding object [io.micronaut.management.health.indicator.DefaultHealthResult@69164ed1] to JSON: No serializable introspection present for type TaskId. Consider adding Serdeable. Serializable annotate to type TaskId. Alternatively if you are not in control of the project's source code, you can use @SerdeImport(TaskId.class) to enable serialization of this type. io.micronaut.http.codec.CodecException: Error encoding object [io.micronaut.management.health.indicator.DefaultHealthResult@69164ed1] to JSON: No serializable introspection present for type TaskId. Consider adding Serdeable. Serializable annotate to type TaskId. Alternatively if you are not in control of the project's source code, you can use @SerdeImport(TaskId.class) to enable serialization of this type.
Steps To Reproduce
Run git clone git@github.com:JacksonFraser/health-demo.git && cd health-demo && ./gradlew run
We are facing the same issue, we face the issue when upgrading io.micronaut.kafka:micronaut-kafka to the latest version (5.4.0). Version 4.5.5 seems not include the bug.
Expected Behavior
The health endpoint returns health status and health details
Actual Behaviour
An exception:
Unexpected error occurred: Error encoding object [io.micronaut.management.health.indicator.DefaultHealthResult@69164ed1] to JSON: No serializable introspection present for type TaskId. Consider adding Serdeable. Serializable annotate to type TaskId. Alternatively if you are not in control of the project's source code, you can use @SerdeImport(TaskId.class) to enable serialization of this type. io.micronaut.http.codec.CodecException: Error encoding object [io.micronaut.management.health.indicator.DefaultHealthResult@69164ed1] to JSON: No serializable introspection present for type TaskId. Consider adding Serdeable. Serializable annotate to type TaskId. Alternatively if you are not in control of the project's source code, you can use @SerdeImport(TaskId.class) to enable serialization of this type.
Steps To Reproduce
git clone git@github.com:JacksonFraser/health-demo.git && cd health-demo && ./gradlew run
curl http://localhost:8081/health
Environment Information
Example Application
https://github.com/JacksonFraser/health-demo
Version
4.0.4
The text was updated successfully, but these errors were encountered: