Skip to content

The LSP hangs on Setting classpath containers #4441

Description

@behrangsa

Describe the bug

Quite often, when I use a Maven project, the LSP hangs on "Setting classpath containers":

65408615 LookupJDKToolchainsJob [Done]
6dd03634 Setting classpath containers - 59% Refreshing '/hello-world'.

Then I have to run Java: Clean Language Server Workspace to fix the LSP.

To Reproduce

The issue is not always reproducible. When I manage to reproduce it I will attach the log files.

Expected behavior
The LSP should never hang.

Environment

  • Operating System: NixOS 26.05
  • JDK version: OpenJDK 25.0.4
  • Visual Studio Code version: 1.124.2
  • Java extension version: 1.55.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions