redhat-developer / redhat-developer/vscode-java

When opening Java Project, the Java Build Status is spinning forever.

Open
#2,623 29 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

extension-start
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

[provide a description of the issue]

Environment
  • Operating System: Windows 10
  • JDK version: JavaSE-1.8 (for the project) and JavaSE-11 for vs code
  • Visual Studio Code version: 1.70.0
  • Java extension version: Extension Pack for Java v0.25.0
Steps To Reproduce
  1. Open Java Project
  2. The Java Build Status indicator on the status bar is spinning forever.
  3. The status bar Java Build status shows an
    info popup as "Building - Lightweight mode".
    vscode java build status spinning

[Please attach a sample project reproducing the error]
I don't have a sample project now. Will try to make a simple one to verify.

Please attach logs
vscode-java logs: vscode-app-1660164678368.log
Another log: vscode-app-1660165168557.log
Java Language Server's workspace logs: .log

Current Result

Java build status is spinning and the project is not loaded

Expected Result

The project was opening and compiling correctly just last week. I think the recent update broke something.

Additional Informations

The project was opening and compiling correctly just last week. I think the recent update broke something.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached vscode-java logs and Java Language Server workspace log, then reproduce on Windows 10 with JavaSE-1.8 for the project, JavaSE-11 for VS Code, and the reported extension versions. Done means the Java Build Status no longer spins indefinitely and the project loads and compiles correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.