"Hang" problem not solved
zicofish opened this issue · comments
The bug mentioned in this issue #17 is not completely solved yet.
jd-cli still hangs when analyzing the following jar file:
The last outputs are:
16:41:06.622 WARN com.github.kwart.jd.output.DirOutput - Class name or java source is null
16:41:06.809 ERROR com.github.kwart.jd.JavaDecompiler - Can't decompile com/ss/android/message/a/f.class
java.lang.NullPointerException: null
16:41:06.809 WARN com.github.kwart.jd.output.DirOutput - Class name or java source is null
16:41:07.066 ERROR com.github.kwart.jd.JavaDecompiler - Can't decompile com/ss/android/socialbase/appdownloader/c.class
java.lang.NullPointerException: null
16:41:07.066 WARN com.github.kwart.jd.output.DirOutput - Class name or java source is null
16:41:07.531 ERROR com.github.kwart.jd.JavaDecompiler - Can't decompile com/ss/android/videoshop/layer/gesture/a.class
java.lang.NullPointerException: null
16:41:07.532 WARN com.github.kwart.jd.output.DirOutput - Class name or java source is null
It freezes for me as well with 1.2.0
By combining parameter -ods <path>
and -g ALL
, we can manually stop the hanging program when there's no new files is being outputted.
--outputDirStructured, -ods
takes a [directoryPath] as a parameter and configures a structured DIR
output for this path
--logLevel, -gtakes [level] as parameter and sets it as the CLI log level. Possible
values are: ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF
Default: INFO