Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Find usages shows no results

Aperta
#9,685 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

Java kind:bug needs:triage pending-response
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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/netbeans

Tutte le issue di apache/netbeans

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.