Skip to content

Regression in 1.53.0: Gradle import stuck at 70% with Groovy support enabled in custom multi-project settings plugin layout #4360

Closed
eclipse-jdtls/eclipse.jdt.ls
#3735

Description

@filimonm

Summary

After upgrading VS Code Java extension from 1.52.0 to 1.53.0, Gradle import gets stuck at 70% for a workspace that uses a custom Gradle settings plugin to include many subfolders as subprojects.

The issue disappears when:

  • "java.jdt.ls.groovySupport.enabled": false

The issue still occurs when only:

  • "java.jdt.ls.kotlinSupport.enabled": false

Regression window

  • Works: v1.52.0
  • Fails: v1.53.0

Likely related change in this window:

  • b1f4e81c4095d4698c7962cd5ef55ae002df36a0 (Support Kotlin,Groovy in Gradle projects)

Environment

  • VS Code: 1.110.1
  • Extension: redhat.java 1.53.0
  • OS: Linux
  • JDK: `java-21-openjdk.x86_64

trace.txt
Image
Image
.log

`

  • Gradle wrapper: 7+ (project-specific)
  • Workspace: multi-project, configured via custom settings plugin

Project structure pattern (sanitized)

  • Root project contains many service/platform folders.
  • A custom settings plugin dynamically:
    • calls settings.include(...) for many directories
    • rewrites selected subproject build files to not-used.gradle (intentional for this setup)
  • Some subprojects use Groovy-related build logic.

No proprietary code can be shared, but behavior is deterministic.

Repro steps (sanitized)

  1. Open a Gradle workspace using a custom settings plugin that dynamically includes many subfolders as subprojects.
  2. Ensure VS Code Java extension is 1.53.0.
  3. Keep default:
    • "java.jdt.ls.groovySupport.enabled": true
  4. Trigger Java/Gradle import (open workspace / reload window).

Actual behavior

Import stays around 70% indefinitely with repeated logs similar to:

[Trace] language/status: "70% Starting Java Language Server"
[Trace] $/progress: "Synchronizing Gradle build at <path> - 70%"
[Trace] language/status: "70% Starting Java Language Server - 1 operation remaining."

Activity

  1. snjeza commented on Mar 9, 2026

    @snjeza
    Collaborator

    @filimonm can you test Java LS 1.55.0?
    If you can reproduce the issue with Java LS 1.55.0, can you send a stack trace at the moment when VS Code freezes at 70%?

    $ ps -ef | grep id1
    $ jstack -l <PID> 
    
  2. filimonm commented on Mar 10, 2026

    @filimonm
    Author

    @snjeza I cannot reproduce with Java LS 1.55.0, the issue is fixed.

  3. added this to the End March 2026 milestone on Mar 10, 2026
  4. fbricon commented on Mar 10, 2026

    @fbricon
    Collaborator

    @snjeza what would have fixed it in 1.55?

  5. snjeza commented on Mar 10, 2026

    @snjeza
    Collaborator

    what would have fixed it in 1.55?

    @fbricon Could you, please, check eclipse-jdtls/eclipse.jdt.ls#3735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions