apache / apache/netbeans

ide.lsp.client threading issue?

Open
#7,793 0 comments 0 reactions 0 assignees View on GitHub
kind:bug LSP needs:triage
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 23

### What happened

When using ide.lsp.client to reformat code the IDE froze. Attaching thread stack.
[thread dump.txt](https://github.com/user-attachments/files/17128366/jstack.txt)

### Language / Project Type / NetBeans Component

Maven project

### How to reproduce

Difficult to reproduce, basically use the ide.lsp.client on a Maven project and reformat files frequently.

### Did this work correctly in an earlier version?

No / Don't know

### Operating System

Ubuntu 24.04

### JDK

17.0.5; OpenJDK 64-Bit Server VM 17.0.5+8-LTS

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Start by reading the attached jstack.txt thread dump and the ide.lsp.client reformatting path in a Maven project. Try reproducing the freeze by repeatedly reformatting files, then identify the implicated threading behavior. Done means reformatting no longer freezes the IDE.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.