Skip to content

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

Open

Description

@lizhichao999

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)

Activity

  1. Dsi13nc3 commented on Jun 7, 2024

    @Dsi13nc3

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions