-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor could not be initialized (First time install). #106
Comments
i'm running Windows 11 23H2 |
so I just realized the plugin does decompile classes of librairies but cannot decompile an open class file, if this is normal close my issue thanks and have a nice day. |
Could you please post the full stack trace in text form of the "Unable to crate part" and the "CoreException" entry? The screenshot you have posted is truncated and does only show classes of Eclipse not of ECD. Thus the relation to ECD is unknown. |
Sure, here is the stacktrace of the CoreException entry |
Looking at the code there is no way to miss this Even looking at the 9 year old code, the CoreException was already in place, so the logic hasn't changed during that time. Lines 347 to 351 in 5a472fb
Commenting out this exception doesn't improve the situation, just the exception changes to From my perspective this is a bug, but as I am not familiar with this code and don't unterstand how it works I don't think that I will be able to fix it. |
I've run into this after upgrading to Eclipse 2024-03. It works in 2023-12. So there's some change in Eclipse that is breaking it. Maybe someone can reach out to Eclipse devs for help? |
Thanks for letting me know, ye it would be great. |
I have a release which is compatible with 2024-03 on my own fork if you want to try. |
thanks I'm going to try that later, did you made a PR ? |
No, unfortunately, I have too many changes and a lot of conflicts. |
perhaps an eclipse bug?
|
I confirm that when:
=> the editor is throwing the error mentioned above:
|
We see the same exception as above with eclipse 2024-06. |
I have seen this IllegalStateException but it seems to be influenced by VMware (I run Eclipse in Ubunu 22.04 client vm). When I disabled VM 3D Hardware acceleration this exception went away (I still cannot make the decompiler work). I have switched to use Xorg instead of Wayland, and I have also added this variable to my .profile:
I am using Eclipse 2024-06. I have used this decompiler on Eclipse 23-03 previously and it works fine there. |
In my case, I use eclipse from WSL, i.e. virtualization. Corroborating w/ your input: it seems to be related to running Eclipse virtualized? |
I don't think it is the virtualization as such that is the problem. Rather I think the issue is the use of hardware acceleration. In Eclipse I have had some fairly major problems if hardware acceleration is turned on. Also in Ubuntu client I have had problems, like the lock screen not rendering or the desktop GUI being almost unusable. The driver for Ubuntu is apparently messed up, but I am used the correct one. I could imaging the same issue creeping in using WSL (it uses a different driver, but the problem could be the same). Can you disable hardware acceleration? Perhaps try with the environment variable I gave (it may not be enough). |
Hi, i'm creating this issue because I don't know why the plugin is not working as expected and throw exceptions that I don't understand.
I installed ecd java decompiler on my eclipse IDE and i've set in file associations ecd as default but when I open a .class file it throws errors.
The text was updated successfully, but these errors were encountered: