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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions