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.
Created attachment 122041 [details] Maven EAR project with broken find usages Find usages does not work in NB 7.2 RC 1 in an EJB project that has an ejb-jar.xml file. It gets stuck at various percentages on the 'initializing data' progress bar. Sometimes it's 87%, sometimes it's 97%. The usages doesn't find anything. I've tested this against various Java EE 5, Java EE 6, ant and maven based EAR projects that have an EJB and WAR module. None of them work in NB 7.2 RC 1, all of them work fine in NB 7.1.1. I created a new sample maven based EAR app attached to this defect. I've attached the project, try finding usages on 'ClassToFindUsagesOf', it fails. Then remove/rename ejb-jar.xml and try it again, it works. This needs fixing ASAP for obvious reasons.
Can you please attach thread dump? I'm not able to reproduce it, even with the sample project
Created attachment 122056 [details] Thread dump of hanging find usages in NB 7.2 RC 1 I've attached a thread dump. The find usages dialog hangs permanently, you have to cancel it. I've reproduced it on my home pc as well as my work one (both 64 bit Win7). It happens in java 6, java 7, 32 bit and 64 bit.
Thanks, now I can reproduce it as well with full ide distribution
Changeset: bc6d4e4dfce8 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2012-07-17 14:41 Message: Issue #215563 - Find usages broken (hangs) in NB 7.2 RC1 in EJB projects with an ejb-jar.xml file
Affect Find Usages which has Warnings (afaik only EJB implements warning for Find Usages)
Integrated into 'main-golden', will be available in build *201207201342* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bc6d4e4dfce8 User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #215563 - Find usages broken (hangs) in NB 7.2 RC1 in EJB projects with an ejb-jar.xml file
Can this be moved to 7.2.1? Effectively the 7.2 release is unusable for any Ejb projects (which I assume is a lot of them) since find usages is broken. For those projects I have to use 7.1.2 which is a pain. I'd think a p1 should get released ASAP?
I have to agree. This defect make 7.2 unusable :(
I've set the target milestone to 7.2.1. I hope no one complains.
This will be part of patch1, it is already nominated.
verified in trunk (and set correct TM, will be set to 7.2.1 when the fix is ported to proper branch)
*** Bug 216056 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/releases/rev/7664b4f9ebcf
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/7664b4f9ebcf User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #215563 - Find usages broken (hangs) in NB 7.2 RC1 in EJB projects with an ejb-jar.xml file
*** Bug 217974 has been marked as a duplicate of this bug. ***
Is there any patch or we should wait for 7.3?
This is a part of NB 7.2 patch1 that was just released several days ago.
Yup, I didn't noticed it. It works perfectly now, thank You.
The bug with "Find usages" still exist in NB 7.3.1 (or reappear), in different types of projects, so i do not associate it with some file, and it seems like even for projects without ejb-jar.xml. It finds what has been searched, and when i click a found item, ide hangs.
(In reply to SoaBeaner from comment #19) > The bug with "Find usages" still exist in NB 7.3.1 (or reappear), in > different types of projects, so i do not associate it with some file, and it > seems like even for projects without ejb-jar.xml. > It finds what has been searched, and when i click a found item, ide hangs. Please create a new bug for the issue you describe. Attach a thread dump[1] and preferably also a small test-project with steps to reproduce. Thanks ! [1] http://wiki.netbeans.org/GenerateThreadDump