apache / apache/netbeans

Attempting to Add a Dependency Locks up NetBeans

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

Description

### Apache NetBeans version

Apache NetBeans 22

### What happened

Opened a project, right-clicked on Dependencies , then "Add Dependency". It opened the dialog to add a new Maven dependency. Clicked on GroupID and started typing. NetBeans locked up.

This is not consistently reproducible, but attempting to add maven dependencies through this dialog causes NetBeans to lock up more often than it succeeds.

### Language / Project Type / NetBeans Component

Java / POM Project

### How to reproduce

* Open a POM / maven project.
* Right click on "Dependencies" in the project panel
* Click "Add Dependency"
* Start typing a new GroupID in the dialog.

At this point, it will often lock up and you can do nothing except force kill NetBeans and try again.

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

No / Don't know

### Operating System

Windows 10 Professional

### JDK

openjdk version 22.0.1 | OpenJDK Runtime Environment (build 22.0.1+8-16) | OpenJDK 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

Problem occurs more than 50% of the time.

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

If it can help? Maybe. But I don't know how to do this.

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. First reproduce the lockup in a POM/Maven project by opening Dependencies, choosing Add Dependency, and typing a GroupID on NetBeans 22 with JDK 22; then trace the dependency dialog and its typing-related work. Done means repeated typing no longer freezes the IDE and the intermittent failure is covered by a reliable check.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.