Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Release with new features and bugfixes:
* https://github.com/devonfw/IDEasy/issues/1633[#1633]: CVE suggestions show unstable versions
* https://github.com/devonfw/IDEasy/issues/1636[#1636]: CVE suggestion scoring more reasonable
* https://github.com/devonfw/IDEasy/issues/1640[#1640]: StackOverflowError: Infinity loop whilst installing terraform
* https://github.com/devonfw/IDEasy/issues/1645[#1645]: Fix for the NullPointerException while installing docker / kubectl

The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/38?closed=1[milestone 2025.12.001].

Expand Down
15 changes: 14 additions & 1 deletion cli/src/main/java/com/devonfw/tools/ide/tool/ToolCommandlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,20 @@ protected void postInstallOnNewInstallation(ToolInstallRequest request) {
protected ToolInstallation createExistingToolInstallation(ToolInstallRequest request) {

ToolEditionAndVersion installed = request.getInstalled();
return createExistingToolInstallation(installed.getEdition().edition(), installed.getResolvedVersion(), request.getProcessContext(),

String edition = this.tool;
VersionIdentifier resolvedVersion = VersionIdentifier.LATEST;

if (installed != null) {
if (installed.getEdition() != null) {
edition = installed.getEdition().edition();
}
if (installed.getResolvedVersion() != null) {
resolvedVersion = installed.getResolvedVersion();
}
}

return createExistingToolInstallation(edition, resolvedVersion, request.getProcessContext(),
request.isAdditionalInstallation());
}

Expand Down