-
Notifications
You must be signed in to change notification settings - Fork 47
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
NPE while recovering the Threadlocals in Reactor #898
Comments
Summoning @chemicL |
Can you please list the versions of the libraries? Did it start happening after an upgrade? Are you able to provide a reproducer? |
I updated the main ticket with the versions. Unfortunately I could not reproduce it yet. I occurs about 1-3 times per hour while the particular application processes about 60-70 requests per seconds / 240k requests per hour, so it is pretty rare relative to the amount of requests. I also saw that issue on our QA system, where we only have artificial traffic from our tests, so my current assumption is that the issue is not caused by some obscure data that only occurs on production. My plan is to start a debugging instance on the QA system and hope to catch the issue there, which me luck :-) |
Thanks! So these are the latest versions it seems and reactor-core 3.7.0 would be used. Did this start appearing after a bump from some other Boot version? From the reactor perspective I can't point to any recent change that could have caused this and one that deals with KeyValues is not released yet ;) @marcingrzejszczak perhaps there were some recent changes in Micrometer around this area? |
I haven't touched micrometer for the last couple of months cc @jonatan-ivanov @shakuzen |
It looks similar to micrometer-metrics/micrometer#4356 which seems to be reported more frequently lately. |
@shakuzen @marcingrzejszczak the related change that seems to have been introduced by 1.4.0 is #455 and in fact it touches the mentioned |
@shakuzen @marcingrzejszczak @jonatan-ivanov I documented my investigations in micrometer-metrics/micrometer#4356 (comment) - hope this helps. |
We expect this should be fixed with this change in Micrometer, released in 1.14.2, which tracing 1.4.1 uses. Could people affected by this please try with the latest versions to confirm if this is still an issue? |
Hi,
we observe the following Error message in our Prod system, unfortunately without any hint where it is coming from. I don't know if it is the 'fault' of micrometer-core or micrometer-tracing.
On one hand you could argue that a
KeyValue
within aKeyValues
should not never be null, on the other hand, thenull
vaulue must probably come fromRevertingScope.matchingBaggageKeyValues()
The issue occurs since the update to Spring Boot 3.4.0, Springframework 6.2.0, Micrometer 1.14.1, Micrometer Tracing 1.4.0
The text was updated successfully, but these errors were encountered: