microsoft / microsoft/vscode-java-pack

Starting client failed: 'URI authority component has undefined host' when opening a project on a wsl directory while running VS Code locally on Windows

Open
#933 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug
Dominant language
TypeScript
Stars
352
Forks
166
Avg merge
17h 47m
Merged PRs (30d)
32

Description

Environment:

  • VS Code Version: 1.65.2
  • Extension Version: 0.22.0
  • JDK Type & Version:
    openjdk 16.0.1 2021-04-20
    OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
    OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
  • OS Type & Version: Windows 10 Enterprise, Version: 21H1, Systembuild: 19043.1586

Step to Reproduce:
Open a Java project on WSL directory, whereas VS Code is running on Windows Backend
Expected Behavior:
Language Support for Java Client starts successfully
Language Support for Java (Syntax Server) Client starts successfully
Actual Behavior:
Both clients crash with exception (see attached output logs from vs code)
java-language-pack-exception.log

Related Issues:

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the failure by opening a Java project in a WSL directory while VS Code runs on Windows, then inspect the attached java-language-pack-exception.log and the client startup path. Done means both the Language Support for Java Client and Syntax Server Client start successfully in this setup.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.