Find usages shows no results
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- developer-experience
Direzione di ricerca
The report points to commit 8bd3ab86c9466141b5a076e8f1edc84bc6445c51 as the likely regression, so start by reading that change to see how it alters the find-usages index or cache. Reproducing needs a static method called from within its own class and several repeated find-usages runs in NetBeans 31. Done means find usages returns the in-class call sites consistently across repeated runs without restarting the IDE.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Apache NetBeans version
Apache NetBeans 31
What happened
I've updated from Netbeans 28 to 31 and now I when I use 'find usages' on a (static) method it returns nothing, even when I can see the method is being used in the same class. Searching in the changelog I suspect the submit with hash: 8bd3ab86c9466141b5a076e8f1edc84bc6445c51 might not be working properly, though when closing everything I might be able to use find usages again.
Language / Project Type / NetBeans Component
No response
How to reproduce
After a couple of 'find usage' commands it won't find anything anymore on a static method. Clearing the cache won't help, but after closing every window in Netbeans, closing Netbeans, clearing the cache and starting Netbeans again it works again - briefly.
Did this work correctly in an earlier version?
Apache NetBeans 28
Operating System
Windows 11
JDK
21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
My colleague who runs Netbeans 31 on CachyOS experiences the same.
Are you willing to submit a pull request?
No
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 939
- Merge medio
- 4g 14h
- PR unite (30g)
- 26
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/netbeans
-
Contribution welcome kind:feature Platform
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/netbeans#9614 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
kind:bug LSP needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/netbeans#9548 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Editor Java kind:feature needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
The main Options dialog window has buttons with OK on the left instead of on the right on LinuxApertakind:bug needs:triage os:linux os:macos Platform UI
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
kind:bug needs:triage
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/netbeans
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
floci-io/floci#5425 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
objectionary/eo-graphs#80 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
objectionary/jucs#141 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
repowise-dev/repowise#3335 ·
I maintainer di solito rispondono entro 1 giorno