-
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
Gradle quarkusDev
fails with usage analytics enabled
#40164
Comments
/cc @glefloch, @quarkusio/devtools |
I can't reproduce this. Can you attach a reproducer? |
even if we can't reproduce this it shows we don't have enough graceful handling in the analytics. @brunobat shouldn't we catch exceptions and log warning with exception visible if --stacktrace/-X/-debug enabled instead here? |
Will need to check... The gradle plugin has changed a lot recently |
The error is a throwable and the method is only catching exceptions... Will fix that. |
What seems weird to me is that their appears to be a mismatch in Jackson versions |
@brunobat Not sure what you are referring to, |
@kdubb then you are running |
No.. I'm running in the root project and targeting the I'm using the Quarkus BOM to enforce versions. |
FYI the complete command is |
Will this also happen if you execute |
Describe the bug
Current Quarkus (3.9.4) and Gradle 8.6 fail if usage analytics are enabled, with the following execption:
Class com.fasterxml.jackson.annotation.JsonFormat$Feature does not have member field 'com.fasterxml.jackson.annotation.JsonFormat$Feature READ_DATE_TIMESTAMPS_AS_NANOSECONDS'
Disabling usage analytics (by updating the config file in
~/.redhat
) gets things working.Here's the full stack trace from Gradle:
Expected behavior
Gradle works with/without usage analytics.
Actual behavior
Gradle's
quarkusDev
task fails to configure an ObjectMapper to load some required file.How to Reproduce?
No response
Output of
uname -a
orver
Darwin Kevins-Mac-Studio.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64
Output of
java -version
java version "21.0.1" 2023-10-17
Quarkus version or git rev
3.9.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.6
Additional information
No response
The text was updated successfully, but these errors were encountered: