Luyten
Luyten copied to clipboard
Empty files on export. / Save as .zip/.jar fails if procyon can't decompile a class file
When exporting (Save all...) a large project, most of the files produced in the zip file are 0 bytes in size.
Thanks for the report. I believe that if the decompiler has an issue it aborts the operation. I'll try to gracefully handle exceptions.
as workaround you can use java -jar procyon-decompiler-0.5.24.jar --jar-file jarnametobeprocessed.jar -o youOutputDirectory
Merged #15 to #11. Now before if there was an issue with the decompilation the program would continue to iterate. This is not the case now however after many changes have yet to reproduce.
Merged #42 to #11 as it seems that there is still an issue. This is difficult to test as Procyon becomes better at decompiling and handling it's exceptions.
Same issue right now. Output .zip file is 22 bytes, which is an empty zip file. EDIT: Sorry, I was using the 0.4.4 version, 0.4.7 seems to work right now.
Still an issue on released build for Windows 0.5.4 procyon 0.5.36 Workaround posted by 1volt works thanks.
java -jar procyon-decompiler-0.5.36.jar --jar-file %1 -o ./output