In this post, we will see how to resolve the return value of “io.micrometer.tracing.handler.TracingObservationHandler$TracingContext.getScope()” is null
Question:
I upgraded from A Spring boot 2.7 to Spring boot 3.0.4 project. When I click around, all is working. But when I do a POST to login, I get this stacktrace and a 500 error. Does anyone have a clue what might be happening? It seems something with the Spring Observability?Best Answer:
That’s a bug and it got fixed here https://github.com/micrometer-metrics/tracing/issues/179If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com