java-deobfuscator / deobfuscator

The real deal
https://javadeobfuscator.com
Apache License 2.0
1.59k stars 295 forks source link

SrgToMCP couldn't read the mapping #758

Closed Ghost-Kokoro closed 3 years ago

Ghost-Kokoro commented 3 years ago

java.lang.RuntimeException: Unexpected srg mapping at com.javadeobfuscator.deobfuscator.transformers.minecraft.SrgToMCPTransformer.remap(SrgToMCPTransformer.java:156) at com.javadeobfuscator.deobfuscator.transformers.normalizer.AbstractNormalizer.transform(AbstractNormalizer.java:37) at com.javadeobfuscator.deobfuscator.Deobfuscator.runFromConfig(Deobfuscator.java:410) at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:367) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.javadeobfuscator.deobfuscator.ui.wrap.Deobfuscator.run(Deobfuscator.java:74) at com.javadeobfuscator.deobfuscator.ui.SwingWindow$15$1.run(SwingWindow.java:812) at java.lang.Thread.run(Unknown Source)

// I am using the srg obfuscation mapping from MCP9.18, to rename methods in a mod. Materials.zip

ThisTestUser commented 3 years ago

This issue should be fixed in the latest build.