java-decompiler / jd-gui

A standalone Java Decompiler GUI
GNU General Public License v3.0
14.07k stars 2.39k forks source link

Save all ressources #306

Open medmahdimaarouf opened 4 years ago

medmahdimaarouf commented 4 years ago

save all resources option File menu got stuck in the middle of the progress delete me

yinguohang commented 4 years ago

Same Here

breaktoprotect commented 4 years ago

Hi all, I'm facing the same issue. For a certain compiled jar file, it always gets stuck at 80%. Tried both .exe windows release package and downloading the .jar itself - both seemed to behave similarly.

Additional info: Further testing indicated that all 1.6.x does not work for me on windows. So I reverted the version back to 1.5.2 and the extraction of the source worked perfectly. Something must have changed since1.6.x. Hope this helps.

wo4chenkewen commented 4 years ago

Hi all, I'm facing the same issue. For a certain compiled jar file, it always gets stuck at 80%. Tried both .exe windows release package and downloading the .jar itself - both seemed to behave similarly.

Additional info: Further testing indicated that all 1.6.x does not work for me on windows. So I reverted the version back to 1.5.2 and the extraction of the source worked perfectly. Something must have changed since1.6.x. Hope this helps.

However, as you say, I reverted to the version 1.5.2, it didn't work either. the problem getting stuck in the middle does not solve.

SknerusMcK commented 4 years ago

Same for me, but works on v1.4.2 and lower

damonZ1 commented 4 years ago

Same for me, but works on v1.4.2 and lower

Help -> preference -> maximum depth change to 30, you can try

SknerusMcK commented 4 years ago

@damonZ1 Still same error :confused:

kazkansouh commented 3 years ago

I've just run into this issue too. It appears 1 core ends up eating lots of cpu and does not terminate. For me, version downgrading to both 1.4.2 and 1.5.2 worked, none of the 1.6.x appeared to work.

Please see attached stack trace (taken with 1.6.6) for more details, its a bit long to paste here.

$ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

jstack.txt

ThatLadLegend commented 3 years ago

Same Problem.

MinusGix commented 3 years ago

I have this issue as well, using it on a android application (using dex2jar to get jar). On 1.6.6 it got nowhere at all on the progress bar. On 1.5.2 it got about halfway. 1.4.2 got the entire rest of the way and completed properly.

octavioricci commented 3 years ago

I had the same problem with 1.6 version. I solved using the 1.4.2

Hope it helps.

fangxlmr commented 3 years ago

Probably still having the same issue. I failed to save all resources on Mac using 1.6.x, 1.5.x and 1.4.3.

Help -> preference -> maximum depth change to 30, you can try

Change depth to 30 doesn't help either.

Solved it using 1.4.2 like others.

Maicba commented 3 years ago

Was using JD-GUI-windows-1.6.6 but always got stuck at 80% of all trials I made. Solved it by using JD-GUI-windows-1.4.0.

brian-mcnamara commented 2 years ago

Figured out whats going on: for some reason the logic is stuck inside this loop https://github.com/java-decompiler/jd-core/blob/master/src/main/java/org/jd/core/v1/service/converter/classfiletojavasyntax/util/StatementMaker.java#L651 . Debugging it, the BasicBlock next is repeating such that next.equals(next.getNext().getNext()) is true. I'm not too sure what this code does at this time, so unsure what the best fix is.

Shumerez commented 1 year ago

Solved this issue on 1.6.6 by simply changing output folder to ~/home/user/Desktop Hope it helps somebody

rautamiekka commented 1 year ago

~/home/user/Desktop

You mean /home/USER/Desktop cuz the tilde will duplicate /home/USER. Just best to use ~/Desktop, with ~ being NIX speak for "home folder full path" (which could be located anywhere, not just /home/USER).

xspeed1989 commented 3 months ago

Solved this issue on 1.6.6 by simply changing output folder to ~/home/user/Desktop Hope it helps somebody

Do you have a video or gif that changing output folder to ~/home/user/Desktop @Shumerez