-
Notifications
You must be signed in to change notification settings - Fork 1k
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
java.lang.IllegalArgumentException: Context does not have an entry for key [class io.micrometer.core.instrument.Timer$Sample] #3792
Comments
Wow, this is super strange. Do you observe such behaviour with micrometer 1.10.7-SNAPSHOT? |
|
I saw which version they are using. I was wondering if maybe the problem is not there in snapshots. |
I think this should be only possible if |
I will investigate further. Thanks for your feedback. |
Having the same issue. The exception started to appear after upgrade Spring Boot to 3.0.6 version and micrometer (micrometer-registry-prometheus) to 1.10.6 version. |
same here : the issue appears after upgrading spring boot to 3.0.6 from 3.0.4. |
The stacktrace suggests that this is a bug that has been introduced in Spring Security 6.0.3 in spring-projects/spring-security#12829 or spring-projects/spring-security#12849. This seems to happen when HTTP clients disconnect before the response has been fully written to the network. Can anyone confirm by rolling back to Spring Security 6.0.2 and see if this happens still? |
Confirmed, there are no stack traces on Spring Security 6.0.2. |
OK so let's close this then in favour of Spring Security |
@lukasherman could you open an issue against Spring Security please? |
Describe the bug
During load test an IllegalArgumentException occurs randomly in the logs.
Environment
Spring Boot 3.0.6 WebFlux application
To Reproduce
Strack trace below occurs randomly in the logs, every 2-90 seconds, under web server load (150 requests/s). Not sure if it goes here, or Spring, or Netty. Please check.
Expected behavior
No IllegalArgumentExceptions should appear in the logs.
Additional context
The text was updated successfully, but these errors were encountered: