Closed Monsupito closed 4 years ago
Try use cfr in decompiler tab than procyon.
I have a new error :
java.lang.AssertionError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
at java.util.concurrent.ForkJoinTask.reportException(Unknown Source)
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at cuchaz.enigma.EnigmaProject$JarExport.decompile(EnigmaProject.java:217)
at cuchaz.enigma.gui.GuiController.lambda$exportSource$5(GuiController.java:193)
at cuchaz.enigma.gui.dialog.ProgressDialog.lambda$runOffThread$0(ProgressDialog.java:67)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.AssertionError
at cuchaz.enigma.source.cfr.EnigmaDumper.getDesc(EnigmaDumper.java:81)
at cuchaz.enigma.source.cfr.EnigmaDumper.lambda$getMethodEntry$0(EnigmaDumper.java:90)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.collect(Unknown Source)
at cuchaz.enigma.source.cfr.EnigmaDumper.getMethodEntry(EnigmaDumper.java:90)
at cuchaz.enigma.source.cfr.EnigmaDumper.methodName(EnigmaDumper.java:170)
at org.benf.cfr.reader.util.output.DelegatingDumper.methodName(DelegatingDumper.java:90)
at org.benf.cfr.reader.bytecode.analysis.parse.expression.MemberFunctionInvokation.dumpInner(MemberFunctionInvokation.java:54)
at org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractExpression.dumpWithOuterPrecedence(AbstractExpression.java:124)
at org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractExpression.dump(AbstractExpression.java:80)
at org.benf.cfr.reader.util.output.DelegatingDumper.dump(DelegatingDumper.java:140)
at org.benf.cfr.reader.bytecode.analysis.structured.statement.StructuredReturn.dump(StructuredReturn.java:52)
at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.dump(Op04StructuredStatement.java:213)
at org.benf.cfr.reader.bytecode.analysis.structured.statement.Block.dump(Block.java:557)
at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.dump(Op04StructuredStatement.java:213)
at org.benf.cfr.reader.entities.attributes.AttributeCode.dump(AttributeCode.java:135)
at org.benf.cfr.reader.util.output.DelegatingDumper.dump(DelegatingDumper.java:140)
at org.benf.cfr.reader.entities.Method.dump(Method.java:571)
at org.benf.cfr.reader.entities.classfilehelpers.AbstractClassFileDumper.dumpMethods(AbstractClassFileDumper.java:188)
at org.benf.cfr.reader.entities.classfilehelpers.ClassFileDumperNormal.dump(ClassFileDumperNormal.java:77)
at org.benf.cfr.reader.entities.ClassFile.dumpNamedInnerClasses(ClassFile.java:1131)
at org.benf.cfr.reader.entities.classfilehelpers.ClassFileDumperNormal.dump(ClassFileDumperNormal.java:78)
at org.benf.cfr.reader.entities.ClassFile.dump(ClassFile.java:1137)
at cuchaz.enigma.source.cfr.CfrSource.<init>(CfrSource.java:19)
at cuchaz.enigma.source.cfr.CfrDecompiler.getSource(CfrDecompiler.java:106)
at cuchaz.enigma.EnigmaProject$JarExport.decompileClass(EnigmaProject.java:223)
at cuchaz.enigma.EnigmaProject$JarExport.lambda$decompile$1(EnigmaProject.java:214)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.util.stream.AbstractTask.compute(Unknown Source)
at java.util.concurrent.CountedCompleter.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
yeah @Runemoro should probably take care of either
Duplicate of #207. First bug is fixed by https://github.com/thiakil/procyon/commit/fe7c7c5bfc1e6fa79f5759386b67de9b12167b48, we should merge it into Fabric's Procyon. Second bug is fixed in https://github.com/FabricMC/Enigma/pull/219.
The jar file that you want to decompile: Java Edition 20w16a Obfuscation maps: here
Can someone help me? Its doing this to me every time ! Error: