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 193316 - [cat70] Find Usage & Refactoring shows up empty
Summary: [cat70] Find Usage & Refactoring shows up empty
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 10:07 UTC by Sc0tTyXL
Modified: 2010-12-18 06:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (228.37 KB, image/png)
2010-12-13 10:10 UTC, Sc0tTyXL
Details
Refactoring (271.96 KB, image/png)
2010-12-13 11:05 UTC, Sc0tTyXL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sc0tTyXL 2010-12-13 10:07:15 UTC
Product Version = NetBeans IDE Dev (Build 201012130001)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

Find usages doesn't find usages anymore only its definition.
Comment 1 Sc0tTyXL 2010-12-13 10:10:28 UTC
Created attachment 104004 [details]
Screenshot

As you can see method has clearly been used once.
Comment 2 Sc0tTyXL 2010-12-13 10:13:27 UTC
I Double checked, it's still working in nigthly: 11-29
Comment 3 Sc0tTyXL 2010-12-13 11:05:28 UTC
Refactoring now has the same problem, cant find anything.

As you can clearly see same variable is in constructor below but its not found.

I've updated this to P2 since this makes 2 functions totally unusable.
Comment 4 Sc0tTyXL 2010-12-13 11:05:38 UTC
Created attachment 104011 [details]
Refactoring
Comment 5 pgebauer 2010-12-15 14:56:14 UTC
The issue is very likely cased by changes in model.
Comment 6 Sc0tTyXL 2010-12-15 15:48:39 UTC
(In reply to comment #5)
> The issue is very likely cased by changes in model.

What do you mean ?

If you mean in the sources, this is not the case. They are 100% the same.
Comment 7 Petr Pisl 2010-12-17 10:11:13 UTC
A few weeks ago I have worked on lazy model building. It's probably connected with this. I'm going to take care about this.
Comment 8 Petr Pisl 2010-12-17 14:01:31 UTC
Fixed in web-main. Should be available in the next build.
Comment 9 Quality Engineering 2010-12-18 06:10:15 UTC
Integrated into 'main-golden', will be available in build *201012180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7e5d782df592
User: Petr Pisl <ppisl@netbeans.org>
Log: #193316 - [cat70] Find Usage & Refactoring shows up empty