-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
NullPointer during Rest client creation when micrometer is disabled #25099
Labels
Milestone
Comments
geoand
added a commit
to geoand/quarkus
that referenced
this issue
Apr 26, 2022
ebullient
added a commit
that referenced
this issue
Apr 26, 2022
Prevent NPE when micrometer is disabled
Thank you for your quick response <3 |
Thanks for the reproducer, it was most helpful :) |
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Apr 27, 2022
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
May 5, 2022
Fixes: quarkusio#25099 (cherry picked from commit 037b780)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
May 18, 2022
Fixes: quarkusio#25099 (cherry picked from commit 037b780)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
NullPointer is thrown if micrometer is included but disabled when RestClient is created.
Expected behavior
Application to work as usual, but without metrics reported
Actual behavior
Nullpointer during RestClient creation
How to Reproduce?
Reproducing project:
https://github.com/danielmaison/quarkus-micrometer-bug
Simple Quarkus project generated with Quarkus 2.8.1.Final and extensions:
Changes made to sample code
Reproduce by: Calling server resource (e.g. via test)
Output of
uname -a
orver
Linux Desktop 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 11.0.14.1 2022-02-08 OpenJDK Runtime Environment (build 11.0.14.1+1-Ubuntu-0ubuntu1.20.04) OpenJDK 64-Bit Server VM (build 11.0.14.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
GraalVM version (if different from Java)
N/A
Quarkus version or git rev
2.8.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4
Additional information
No response
The text was updated successfully, but these errors were encountered: