This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237950 - Regression: Since 7.4 the "Find Usages" function ALWAYS hangs
Summary: Regression: Since 7.4 the "Find Usages" function ALWAYS hangs
Status: RESOLVED DUPLICATE of bug 236842
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P1 normal with 1 vote (vote)
Assignee: Ralph Ruijs
Depends on:
Reported: 2013-11-04 13:49 UTC by puce
Modified: 2013-11-04 18:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

messages.log (243.86 KB, application/octet-stream)
2013-11-04 14:50 UTC, puce
thread dump (29.86 KB, text/plain)
2013-11-04 15:56 UTC, puce

Note You need to log in before you can comment on or make changes to this bug.
Description puce 2013-11-04 13:49:33 UTC
The "Find Usages" almost completes. Finds most (all?) references and the progression bar shows 100% but doesn't disappear.

The search tab is showing the spinning wheel.

Neither "stop search" (pressing the stop icon) nor canceling the running task (progress bar) stops the spinning wheel.

Calling "Find Usages" again just shows "Please Wait...".

Only a restart of the IDE helps.

I'm working on a Java EE 5 project (Maven 3.0.4 build). > 100 Maven projects.

The "Exit IDE" dialog shows "Usages" as running process.

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

running on a remote VM (guest: Windows 7 Enterprise N, Service Pack 1, 64-bit OS).
Comment 1 puce 2013-11-04 13:52:11 UTC
Note: When first calling "Find usages" I get warnings about "ejb-jar.xml" was found in several locations and that references in them will not be collected.
Comment 2 Ralph Ruijs 2013-11-04 14:20:13 UTC
Please attach the messages.log and a thread dump. Thanks!
Comment 3 puce 2013-11-04 14:50:15 UTC
Created attachment 141837 [details]
Comment 4 puce 2013-11-04 14:51:34 UTC
I attached the messages.log file.

What is the easiest way to get the thread dump?
Comment 5 Ralph Ruijs 2013-11-04 15:19:32 UTC
(In reply to puce from comment #4)
> I attached the messages.log file.
> What is the easiest way to get the thread dump?
Comment 6 puce 2013-11-04 15:56:51 UTC
Created attachment 141840 [details]
thread dump
Comment 7 puce 2013-11-04 15:58:39 UTC
Also note: the "Exit IDE" dialog appears twice
Comment 8 Ralph Ruijs 2013-11-04 18:22:54 UTC
Thank you for the Thread Dump. This seems to be a duplicate of #236842 which is resolved in the current dev-builds and will be part of 7.4.1

Could you verify this fixes your problem using a dev build?


*** This bug has been marked as a duplicate of bug 236842 ***