Skip to content

Rebuild All hangs forever #202

Open
Open
@linux4life798

Description

@linux4life798

When pressing the Rebuild All button in the JAVA PROJECT window, the build progress stays at 0% and runs forever. This can be seen on a new gradle project. It simply says Java: Background task - 0% with a spinwheel, forever.

Image


Reproduction:

I am running on Debian GNU/Linux 13 (trixie) with openjdk-21-jdk and VSCode Insiders version 1.101.0-1749243562.

Extension Name Extension Identifier Version
Extension Pack for Java vscjava.vscode-java-pack 0.29.2
Gradle for Java vscjava.vscode-gradle 3.16.4
Project Manager for Java vscjava.vscode-java-dependency 0.24.1
Maven for Java vscjava.vscode-maven 0.44.0
Language Support for Java(TM) by Red Hat redhat.java 1.42.0
Debugger for Java vscjava.vscode-java-debug 0.58.2

I simply do the following:

mkdir GUITest3
cd GUITest3
gradle wrapper --gradle-version 8.14.1
./gradlew init
./gradlew build
# Success!

# Open VSCode here
code-insiders .

You will see the workspace initialization in the bottom left of VSCode. Eventually, it will say "Java: Ready".

Open/expand the JAVA PROJECT window in File Explorer panel and click the Rebuild All icon.

Image

After some building steps, you will see Java: Background task - 0% is stuck in the bottom bar of the UI

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions