Skip to content
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

untar on Windows fails #192

Closed
jan-vcapgemini opened this issue Jan 26, 2024 · 2 comments
Closed

untar on Windows fails #192

jan-vcapgemini opened this issue Jan 26, 2024 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists windows specific for Microsoft Windows OS
Milestone

Comments

@jan-vcapgemini
Copy link
Contributor

Expected behavior

As an IDEasy user, I want to install mvn and untar my files properly.

Actual behavior

The untar process fails with following stacktrace:

Artifact already exists at D:\Projects\ideasy-dev\conf\Downloads\ide\default\mvn-3.9.6.tar.gz
To force update please delete the file and run again.
Checksum 6eedd2cae3626d6ad3a5c9ee324bd265853d64297f07f033430755bd0e0c3a4b is correct.
An unexpected error occurred!
We are sorry for the inconvenience.
Please check the error below, resolve it and try again.
If the error is not on your end (network connectivity, lack of permissions, etc.) please file a bug:
https://github.com/devonfw/ide/issues/new?assignees=&labels=bug&projects=&template=bug.md&title=RuntimeException%3A+Unexpected+error+during+interactive+auto-completion
java.lang.RuntimeException: Unexpected error during interactive auto-completion
at com.devonfw.tools.ide.commandlet.ShellCommandlet.run(ShellCommandlet.java:111)
at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:789)
at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:753)
at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:89)
at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:52)
at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:28)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:279)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.UnsupportedOperationException
at java.base/java.nio.file.Files.setPosixFilePermissions(Files.java:2166)
at com.devonfw.tools.ide.io.FileAccessImpl.unpack(FileAccessImpl.java:549)
at com.devonfw.tools.ide.io.FileAccessImpl.untar(FileAccessImpl.java:498)
at com.devonfw.tools.ide.tool.ToolCommandlet.extract(ToolCommandlet.java:231)
at com.devonfw.tools.ide.tool.LocalToolCommandlet.installInRepo(LocalToolCommandlet.java:153)
at com.devonfw.tools.ide.tool.LocalToolCommandlet.installInRepo(LocalToolCommandlet.java:117)
at com.devonfw.tools.ide.tool.LocalToolCommandlet.installInRepo(LocalToolCommandlet.java:103)
at com.devonfw.tools.ide.tool.LocalToolCommandlet.doInstall(LocalToolCommandlet.java:64)
at com.devonfw.tools.ide.tool.PluginBasedCommandlet.doInstall(PluginBasedCommandlet.java:169)
at com.devonfw.tools.ide.tool.ToolCommandlet.install(ToolCommandlet.java:171)
at com.devonfw.tools.ide.tool.mvn.Mvn.install(Mvn.java:33)
at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:101)
at com.devonfw.tools.ide.tool.ToolCommandlet.run(ToolCommandlet.java:85)
at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:789)
at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:753)
at com.devonfw.tools.ide.commandlet.ShellCommandlet.runCommand(ShellCommandlet.java:129)
at com.devonfw.tools.ide.commandlet.ShellCommandlet.run(ShellCommandlet.java:92)
... 7 more

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Try to run mvn

Related/Dependent Issues

#132

Comments/Hints:

Affected version:

  • IDEasy-SNAPSHOT
@jan-vcapgemini jan-vcapgemini added the bug Something isn't working label Jan 26, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Jan 26, 2024
@hohwille
Copy link
Member

Same as #191

@tobka777 tobka777 added the windows specific for Microsoft Windows OS label Feb 6, 2024
@salimbouch
Copy link
Contributor

Can be closed. @hohwille

@hohwille hohwille added the duplicate This issue or pull request already exists label Aug 9, 2024
@hohwille hohwille added this to the rejected milestone Aug 9, 2024
@hohwille hohwille closed this as completed Aug 9, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in IDEasy board Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists windows specific for Microsoft Windows OS
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants