java-deobfuscator / deobfuscator

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

CustomRemapper: StackOverflowError due to extreme class nesting #865

Open Hellinduction opened 2 years ago

Hellinduction commented 2 years ago

Deobfuscation failed. Please open a ticket on GitHub and provide the following error: java.lang.StackOverflowError at com.javadeobfuscator.deobfuscator.transformers.normalizer.CustomRemapper.mapPackage(CustomRemapper.java:157)

Janmm14 commented 2 years ago

in your jar is a extremely nested class (think > 100 subpackages. i think usually you can just delete this nesting madness as its usually not needed.

if there is no extreme nesting in place, more information is required, like full error or full console log (use gist.github.com to upload)

also be sure you did not just selected every available transformer - a remapping transformer should only be used if absolutely needed and obfuscation is already removed.

Hellinduction commented 2 years ago

Yes, it did indeed have a deeply nested class.