-
Notifications
You must be signed in to change notification settings - Fork 20
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
[BUG] java.lang.NoClassDefFoundError causes freeze of code analysis #113
Comments
I tried a lot of other things (like removing the imports and all references to Edit: Nope, wrong. Apparently, after uninstalling and reinstalling the plugin, it was still set to "disabled". That's why everything worked fine. Re-enabling the plugin brought back all problems. |
I'm having the same issue exactly. Hope this gets fixed soon, as it's a major annoyance. |
I'm having the same issue. Could it be related to the package name change in Java 9 ( |
I'm not sure about this. The But on the other hand it would be a reasonable explanation. I really don't know. |
use IDEA with java8 bundled can fix the issue |
Yeah. I can't keep using java8 as the javafx community has moved on. I will have to disable the plugin :( |
you can delete that feature from your plugin jar file: <annotator language="kotlin" implementationClass="no.tornado.tornadofx.idea.annotator.CSSColorAnnotator" order="first"/> tornadofx-idea-plugin\lib\tornadofx-idea-plugin-1.7.17.2.jar\META-INF\plugin.xml |
if use java 8 |
if use java 9+ |
I don't know what exactly I've done to cause this, but as of now, I can't perform the standard IntelliJ code analysis in my TornadoFX project as long as the TornadoFX plugin is active. I've tried everything, from restarting the IDE, disabling and enabling the plugin and also restarting the PC.
The IDE Error Log shows the following stacktrace of the error caused by the TornadoFX plugin:
This error apparently causes the IDE code analysis to freeze or hang. In the top right corner of the editor, you normally see a badge with the number of warnings and errors in the current file. This badge is stuck to just displaying "Analyzing...". The "Problems" pane also just shows "Analyzing [File]". While this analysis is stuck, I don't have any error highlighting and also a greatly reduced syntax highlighting (just like the version you ususally see when you just opened up a project).
As I said, I don't really know what caused the error, but it seems to be linked to the file I was working on. For further information, here's that file:
Some version data:
The text was updated successfully, but these errors were encountered: