Skip to content

Error during installation of soapui #2364

Description

@hohwille

Actual behavior

Start: Install soapui
No CVEs found for version 5.10.0 of tool soapui.
No CVEs found for version 25.0.4.1_1 of tool java.
Artifact already exists at C:\Users\hohwille\Downloads\ide\default\java-25.0.4.1_1-windows-x64.zip
To force update please delete the file and run again.
Extracting ZIP file C:\Users\hohwille\Downloads\ide\default\java-25.0.4.1_1-windows-x64.zip to D:\projects\_ide\tmp\extract-java-25.0.4.1_1-windows-x64.zip-36732
Extracting 100% [============================================================] 134/134MiB (0:00:07 / 0:00:00) 19.2MiB/s
Failed to move directory: D:\projects\_ide\tmp\extract-java-25.0.4.1_1-windows-x64.zip-36732\jdk-25.0.4.1+1 to D:\projects\_ide\software\default\java\java\25.0.4.1_1.
On Windows, file operations could fail due to file locks. Please ensure the files in the moved directory are not in use. For further details, see:
https://github.com/devonfw/IDEasy/blob/main/documentation/windows-file-lock.adoc
java.lang.IllegalStateException: Failed to move directory: D:\projects\_ide\tmp\extract-java-25.0.4.1_1-windows-x64.zip-36732\jdk-25.0.4.1+1 to D:\projects\_ide\software\default\java\java\25.0.4.1_1.
On Windows, file operations could fail due to file locks. Please ensure the files in the moved directory are not in use. For further details, see:
https://github.com/devonfw/IDEasy/blob/main/documentation/windows-file-lock.adoc
        at com.devonfw.tools.ide.io.FileAccessImpl.move(FileAccessImpl.java:355)
        at com.devonfw.tools.ide.io.FileAccessImpl.extract(FileAccessImpl.java:724)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.installDownloadedToolPayload(LocalToolCommandlet.java:286)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.performToolInstallation(LocalToolCommandlet.java:265)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.installTool(LocalToolCommandlet.java:220)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.doInstallStep(LocalToolCommandlet.java:103)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.doInstall(LocalToolCommandlet.java:87)
        at com.devonfw.tools.ide.tool.ToolCommandlet.install(ToolCommandlet.java:351)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.installAsDependency(LocalToolCommandlet.java:318)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.installToolDependencies(LocalToolCommandlet.java:355)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.installTool(LocalToolCommandlet.java:179)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.doInstallStep(LocalToolCommandlet.java:103)
        at com.devonfw.tools.ide.tool.LocalToolCommandlet.doInstall(LocalToolCommandlet.java:87)
        at com.devonfw.tools.ide.tool.ToolCommandlet.install(ToolCommandlet.java:351)
        at com.devonfw.tools.ide.tool.ToolCommandlet.install(ToolCommandlet.java:336)
        at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.lambda$doUpdateSoftwareStep$1(AbstractUpdateCommandlet.java:341)
        at com.devonfw.tools.ide.step.Step.run(Step.java:228)
        at com.devonfw.tools.ide.step.Step.run(Step.java:217)
        at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.doUpdateSoftwareStep(AbstractUpdateCommandlet.java:341)
        at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.lambda$updateSoftware$0(AbstractUpdateCommandlet.java:302)
        at com.devonfw.tools.ide.step.Step.run(Step.java:228)
        at com.devonfw.tools.ide.step.Step.run(Step.java:217)
        at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.updateSoftware(AbstractUpdateCommandlet.java:302)
        at com.devonfw.tools.ide.commandlet.AbstractUpdateCommandlet.doRun(AbstractUpdateCommandlet.java:105)
        at com.devonfw.tools.ide.commandlet.UpdateCommandlet.doRun(UpdateCommandlet.java:30)
        at com.devonfw.tools.ide.commandlet.Commandlet.run(Commandlet.java:232)
        at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:1451)
        at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:1235)
        at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:92)
        at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:56)
        at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:138)
        at java.base@25.0.2/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)
Caused by: java.nio.file.FileAlreadyExistsException: D:\projects\_ide\software\default\java\java\25.0.4.1_1
        at java.base@25.0.2/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:352)
        at java.base@25.0.2/sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
        at java.base@25.0.2/java.nio.file.Files.move(Files.java:1319)
        at com.devonfw.tools.ide.io.FileAccessImpl.move(FileAccessImpl.java:348)
        ... 31 more

Step 'Install soapui' ended with failure.

Reproduce

I was getting this error calling ide update in my project.
It seems that to reproduce the error you need an update of SoapUI to happen and to have the required Java version already installed in your software repo.

Expected behavior

The installation should succeed without error.

IDEasy status

Failed to determine current origin of git repository. - Expected single line of output but received 2 lines from C:\Program Files\Git\mingw64\bin\git.exe remote
IDE_ROOT is set to D:/projects
IDE_HOME is set to D:/projects/project
Your version of IDEasy is 2026.08.002-08_22_02-SNAPSHOT.
You are using a SNAPSHOT version of IDEasy. For stability consider switching to a stable release via 'ide upgrade --mode=stable'
Your version of IDEasy is 2026.08.002-08_22_02-SNAPSHOT but version 2026.08.002-20260822.030417-6 is available. Please run the following command to upgrade to the latest version:
ide upgrade
Your operating system is windows(10.0)@x64 [Windows 11@amd64]
You are online.
Found bash executable at: C:/Program Files/Git/usr/bin/bash.***
Found git executable at: C:/Program Files/Git/mingw64/bin/git.***
Your settings are up-to-date.

Related/Dependent issues

#1720, #2311

Comments/Hints

It seems that an update of SoapUI was found and going to be installed.
However, the now properly configured dependencies.json defines a dependency from SoapUI to Java.
During installation of Java some strange FileAlreadyExistsException error occurred.
So why did we try to install a version of Java that is already installed in the software repository?

Metadata

Metadata

Assignees

Labels

installinstallation process of IDE + tools and install commandletjavarelated to java commandlet (JVM, OpenJDK, Azul)ready-to-implementsoapui

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions