-
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
NPE when adding new registry in Quarkus CLI #22731
Comments
/cc @ebullient, @maxandersen, @quarkusio/devtools |
The
Is there a default value somewhere @ebullient ? |
Yeow! how did this get by? Yikes. One sec |
@ebullient I release 2.6.2.Final on Monday morning early Paris time so if it's an easy fix and you can get it by then, we can include it. |
With some advice, I can give it a try @ebullient. |
I have something building now |
I pushed a pr but feel free to close it if you have something else. ;) |
I did close it. I am trying to remove direct access to those Locators outside of the registry client package. Next thing on my list is making them package private. I can't do it just yet because we still have the flying spaghetti monster in there running amok |
Describe the bug
When new registry is added into freshly installed Quarkus CLI, the operation fails with NullPointerException.
Expected behavior
New registry is added successfully.
Actual behavior
Exception in console:
How to Reproduce?
Steps to reproduce:
jbang app uninstall quarkus
rm -r ~/.quarkus/
jbang app install --fresh --force quarkus@quarkusio
quarkus registry add registry.quarkus.redhat.com
Output of
uname -a
orver
OS name: "linux", version: "5.15.6-100.fc34.x86_64"
Output of
java -version
11.0.13, vendor: Eclipse Adoptium
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: