-
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
Kubernetes extension crashes with NPE during build #40369
Comments
adutra
added a commit
to adutra/nessie
that referenced
this issue
Apr 30, 2024
adutra
changed the title
Kubernetes extension crashes when NPE during build
Kubernetes extension crashes with NPE during build
Apr 30, 2024
FYI I do have many remotes defined, and one of them is |
Thanks for reporting! Sounds like an easy fix, but it would be in Dekorate, not Quarkus itself |
Yes I imagined. That said, on the Quarkus side, we might want to test if |
That sounds like a very specific workaround 😀 |
adutra
added a commit
to adutra/nessie
that referenced
this issue
May 6, 2024
adutra
added a commit
to adutra/nessie
that referenced
this issue
May 7, 2024
adutra
added a commit
to adutra/nessie
that referenced
this issue
May 7, 2024
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 13, 2024
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
May 14, 2024
Fixes quarkusio#40369 (cherry picked from commit a80a37e)
holly-cummins
pushed a commit
to holly-cummins/quarkus
that referenced
this issue
Jul 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Possibly caused by #38748.
When upgrading to Quarkus 3.10, the Kubernetes extension started throwing an NPE during build (see stacktrace below). The same project builds fine with Quarkus 3.9.
Workaround: adding the config option
quarkus.kubernetes.vcs-uri.enabled=false
makes the build pass.Expected behavior
No build errors.
Actual behavior
How to Reproduce?
operator/src/main/resources/application.properties
, remove line 16:quarkus.kubernetes.vcs-uri.enabled=false
./gradlew :nessie-operator:build
in the repo root.Output of
uname -a
orver
Darwin MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:37 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6031 arm64
Output of
java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10) OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode)
Quarkus version or git rev
3.10.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)------------------------------------------------------------ Gradle 8.7 ------------------------------------------------------------ Build time: 2024-03-22 15:52:46 UTC Revision: 650af14d7653aa949fce5e886e685efc9cf97c10 Kotlin: 1.9.22 Groovy: 3.0.17 Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023 JVM: 17.0.6 (Eclipse Adoptium 17.0.6+10) OS: Mac OS X 14.4.1 aarch64
Additional information
No response
The text was updated successfully, but these errors were encountered: