Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Find usages shows no results

Đang mở
#9,685 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
3.1k
Fork
939
Merge trung bình
5 ngày 43 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/netbeans

Tất cả issue của apache/netbeans

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.