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

java.lang.RuntimeException: Zip entry 'org/' tries to escape target directory #447

Open
lizhichao999 opened this issue May 10, 2024 · 1 comment

Comments

@lizhichao999
Copy link

use cmd java -cp java-decompiler.jar org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true bin/*.jar decode

Exception in thread "main" java.lang.RuntimeException: Zip entry 'org/' tries to escape target directory
at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:143)
at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:86)
at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:64)
at org.jetbrains.java.decompiler.main.Fernflower.addSource(Fernflower.java:73)
at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.addSource(ConsoleDecompiler.java:111)
at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.main(ConsoleDecompiler.java:79)

@Dsi13nc3
Copy link

Dsi13nc3 commented Jun 7, 2024

I solved this problem by this method
FabricMC/intellij-fernflower#20 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants