-
Notifications
You must be signed in to change notification settings - Fork 463
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
java.lang.IllegalArgumentException Attempted to endRule & - java.lang.IllegalArgumentException Worker thread ended job: Classpath Update Job(29039), but still holds rule #3997
Comments
@ramazangirgin-check24 Could you try to set
|
Hi, thank you @snjeza when i set "java.compile.nullAnalysis.mode": "disabled", i don't see reported IllegalArgumentException errors anymore. But still my project is loading very very slow and i see the following type of errors logged.
Actually for "Cannot download Gradle", we already configured our repository and we have use Gradle: 8.12.1 but it seems gradle / project doesn't use it and tries to load different version from gradle.org. I also see the following errors logged Also IDE is crashed after some minutes while loading the project with error "The window terminated unexpectedly (reason: 'crashed', code: '5')" Unfortunately, i don't have loading completed project setup in Cursor. besides solving the root cause of the errors mentioned above, is there any other way to make loading faster anyhow, increasing speed for project load, "Refreshing Workspace" speed etc ? Thanks in advance |
@ramazangirginattach Could you attach a project example? |
@snjeza i don't think it will be possible for me to attach sample project example for loading issues or errors. If somehow possible to enable debug / trace logging, i can enable it and can send you it. The point is ; |
@ramazangirgin-check24 Could you try to import your project in VS Code and attach your server log - Enable logging |
@snjeza please see server log as attached. |
In #3995 , there was an issue where Gradle was not getting loaded and I was able to narrow it down to something introduced in 1.41.0. Can you try the latest pre-release build of vscode-java, |
@rgrunber ![]() how can i download it manually and install for testing it ? |
@rgrunber tried version v1.42.2025040104
Unfortunately the project is not fully loaded, and no visible progress in java plugin logs |
For the |
@rgrunber
and our big project is not loaded. i also see the following error logged and test classes are not detected. It is not possible to run test on it. ( I tried it with small gradle java project and it fails with it as well )
|
The first error might be something else in vscode-gradle based on the stacktrace. The second error is explained at #3995 (comment) . It's from https://github.com/microsoft/vscode-java-test . |
@rgrunber thank you, i seems we need to wait for the fix from multiple plugins for the errors. What about weird project names and circular dependency issue which i reported in Unfortunately my project loaded with a bit weird names similar to in gradle/gradle#847 and microsoft/vscode-gradle#1659. It was visible correctly with v1.41.0 but doesn't work with pre-release version v1.42.2025040104 anymore. |
Hi,
We have a multi-module Gradle-based Java Spring application. When trying to open it in Cursor IDE with the Language Support for Java plugin enabled, the project does not fully load.
We had a circular dependency issue which i reported in microsoft/vscode-gradle#1659 and #3986 but it seems with Language Support for Java(TM) by Red Hat plugin Version 1.41.0, our gradle sub projects are visible as expected, without circular dependencies reported and without weird project names.
But now, with Language Support for Java(TM) by Red Hat plugin Version 1.41.0, when i open my project even java projects are visible in JAVA PROJECTS view, the code is not loaded, not detected properly after waiting for some hours.
I see the following kind of errors logged for plugin. There are too many logged errors. I am putting here just some samples.
Our installed versions;
OS Version: macos 15.3.2 (24D81)
Gradle: 8.12.1
Java: OpenJDK 21.0.3 LTS
Spring Boot: 3.4.3
Cursor Version: 0.47.8 (Universal)
Language Support for Java(TM) by Red Hat plugin Version 1.41.0
vscode-gradle Extension Version: 3.16.4
It looks like the issue is related to latest Language Support for Java(TM) by Red Hat plugin Version 1.41.0 version.
Can you please have a look ?
Thanks in advance
Ramazan
The text was updated successfully, but these errors were encountered: