apache / apache/netbeans

Background scanning Java git projects forever in FreeBSD

Open
#3,982 1 comment 0 reactions 1 assignee Claimed by @vieiro View on GitHub
kind:bug
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 13

### What happened

NetBeans starts scanning projects in background after some file operations and seems to never stop. It always happens on switching branches on a Git workspace.
I have been facing this problem in simple Maven Java projects.
I suppose it only happens in FreeBSD.

### How to reproduce

Open any Maven project in a Git workspace.
Switch to another branch.
NetBeans starts scanning projects in background for a long long time, consuming CPU.

JConsole reports the following threads with high activity:
- RepositoryUpdater.worker
- Pending refresh

Let me know if you require more information in FreeBSD.

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

Apache NetBeans 12.3 or earlier

### Operating System

FreeBSD 13.0-RELEASE-p8 amd64

### JDK

OpenJDK 64-Bit Server VM (build 17.0.2+8-1, mixed mode, sharing)

### Apache NetBeans packaging

Apache NetBeans binary zip

### Anything else

_No response_

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

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.