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 200843 - Find usages "from the base class" does not work
Summary: Find usages "from the base class" does not work
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 200980 (view as bug list)
Depends on: 200124
Blocks:
  Show dependency tree
 
Reported: 2011-08-10 15:12 UTC by Jan Lahoda
Modified: 2011-08-16 13:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Testcase. (12.82 KB, application/zip)
2011-08-10 15:12 UTC, Jan Lahoda
Details
Proposed patch. (5.18 KB, patch)
2011-08-10 15:12 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2011-08-10 15:12:04 UTC
Created attachment 109907 [details]
Testcase.

[recent build]

Download, unpack and open the attached project. Open javaapplication2.A, place caret at the "run" method, and call find usages. Make sure the "Search from the baseclass" checkbox is checked and run the FU. There is one call of the "I.run" method in javaapplication2.JavaApplication2, but it is not found by the FU.

I will also attach a patch that should fix the problem - it basically reverts the fix for bug #200124 and tries to fix the NPE by other means.
Comment 1 Jan Lahoda 2011-08-10 15:12:42 UTC
Created attachment 109908 [details]
Proposed patch.
Comment 2 Ralph Ruijs 2011-08-15 09:39:01 UTC
Changeset: 4ef991b09c30
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2011-08-15 11:36
Message:   
Issue #200843 - Find usages "from the base class" does not work
Comment 3 Ralph Ruijs 2011-08-16 12:55:18 UTC
*** Bug 200980 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2011-08-16 13:55:00 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4ef991b09c30
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #200843 - Find usages "from the base class" does not work