redhat-developer / redhat-developer/vscode-java

Exceptions are buried in the log file.

Open
#1,832 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I turned on the java tooling in vscode for a flutter project and received the following error:

Failed to configure project sounds

When I googled the error I found a github issue that suggested I should open the java log file where I found:

java.lang.Exception: Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.

I shouldn't have to dig into a log file to find the actual error. vscode-java should be showing the exception description in the vscode problems window.

Version: 1.54.1
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:50.094Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.8.0-44-generic snap

Language Support for java by redhat: v0.76.0

java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)

Ubuntu 20.04

Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.

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

The issue names no source files, tests, or entry points. Reproduce the project-configuration failure with the Java tooling in VS Code, then trace how that error reaches the Problems window; it is done when the exception description is shown there instead of only in the Java log.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.