Open Poltergeist-ix opened 1 year ago
Looks like the IntelliJ decompiler is failing there. Does it work if you try from IntelliJ?
It used to work until I updated Intellij some time this year.
I would try to delete your IntelliJ, fetch new version online and just unzip to the same location (update your beautiful java config accordingly in case the folder name changed). Then it should work. There's still a few class that can't be fully decompiled. I'll have to fix the broken java code from pz to make the decompiler work better. Just let me know if some piece of code you need can't be decompiled
Thank you, hopefully Intellij or PZ fixes this by the time the next version is released.
So you got it working?
No.
There's still a few class that can't be fully decompile
This is what I had before. I tried reinstalling when I first encountered the issue.
However, I have the files from when I decompiled before I updated Intellij.
Can you tell plz which version did you use before?
@Poltergeistzx Have you tried to compare the java version shipped with IntelliJ with the one pz is using?
I've tried with different versions of java. The problem seems to be fernflower update.
https://github.com/fesh0r/fernflower/commits/master
They made some changes in Feb and Jan that I think cause the issue.
For java I now use Azul Zulu 17.0.7
The version of intellij worked was one from last year, I don't have more details about that.
It really sounds like a regression on IntelliJ side. Do you know if this issue is tracked somewhere? Except for the wrapping around, BeautifulJava is simply processing the output of their decompiler basically, so there's not much I can do about it.
IntelliJ IDEA 2023.1.2 (Community Edition) - Build #IC-231.9011.34, built on May 16, 2023 Project Zomboid .41.78.16
Error while decompiling:
File output