Expected behavior
As an IDEasy user I expect the repository commandlet to work properly when I call it with ide repository setup and omit the repository.
Actual behavior
IDEasy throws a NullpointerException:
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileSystem()" because "path" is null
at java.base/java.nio.file.Files.provider(Files.java:104)
at java.base/java.nio.file.Files.exists(Files.java:2514)
at com.devonfw.tools.ide.property.PathProperty.validate(PathProperty.java:64)
at com.devonfw.tools.ide.commandlet.Commandlet.validate(Commandlet.java:233)
at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:912)
at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:864)
at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:88)
at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:51)
at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:28)
Steps to reproduce (bug) / Use Case of feature request (enhancement)
- run
ide repository setup
Related/Dependent Issues
Comments/Hints:
Affected version:
- IDEasy: 2024.08.001-beta-SNAPSHOT
Expected behavior
As an IDEasy user I expect the repository commandlet to work properly when I call it with
ide repository setupand omit the repository.Actual behavior
IDEasy throws a NullpointerException:
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide repository setupRelated/Dependent Issues
Comments/Hints:
Affected version: