Open Surakuu opened 2 years ago
Try to use allatori.StringEncryption
instead of allatori.string.StringEncryption
.
In general make sure you do not just throw every transformer onto a file, there are a lot of transformers which can and do make wrong changes. See https://github.com/java-deobfuscator/deobfuscator/wiki for a tutorial. The detection mechanism works relatively good.
Hey, i had this exact issue too, however changing allatori.StringEncryption instead of allatori.string.StringEncryption didn't fix my issue
java.lang.NullPointerException: Cannot invoke "com.javadeobfuscator.javavm.mirrors.JavaClass.isPrimitive()" because "this.componentType" is null
at com.javadeobfuscator.javavm.mirrors.JavaClass.
java.lang.NullPointerException: Cannot invoke "com.javadeobfuscator.javavm.mirrors.JavaClass.isPrimitive()" because "this.componentType" is null at com.javadeobfuscator.javavm.mirrors.JavaClass.(JavaClass.java:178)
at com.javadeobfuscator.javavm.mirrors.JavaClass.forName(JavaClass.java:219)
at com.javadeobfuscator.javavm.hooks.HookGenerator.generateUnknownHandlingHook(HookGenerator.java:73)
at com.javadeobfuscator.javavm.nativeimpls.sun_misc_URLClassPath.registerNatives(sun_misc_URLClassPath.java:28)
at com.javadeobfuscator.javavm.VirtualMachine.registerNatives(VirtualMachine.java:500)
at com.javadeobfuscator.javavm.VirtualMachine.(VirtualMachine.java:124)
at com.javadeobfuscator.deobfuscator.utils.TransformerHelper.newVirtualMachine(TransformerHelper.java:269)
at com.javadeobfuscator.deobfuscator.transformers.allatori.string.StringEncryptionTransformer.transform(StringEncryptionTransformer.java:36)
at com.javadeobfuscator.deobfuscator.Deobfuscator.runFromConfig(Deobfuscator.java:478)
at com.javadeobfuscator.deobfuscator.Deobfuscator.start(Deobfuscator.java:435)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.javadeobfuscator.deobfuscator.ui.wrap.Deobfuscator.run(Deobfuscator.java:84)
at com.javadeobfuscator.deobfuscator.ui.SwingWindow.lambda$null$17(SwingWindow.java:1009)
at java.base/java.lang.Thread.run(Thread.java:833)