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 220774 - call hierarchy shows incorrect results
Summary: call hierarchy shows incorrect results
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 15:26 UTC by Vladimir Voskresensky
Modified: 2012-10-30 02:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2012-10-24 15:26:05 UTC
Java call hierarchy sometimes shows that nobody calls the method (all in one module), while it's not true and Find Usages shows function calls.

I found a way how to reproduce it:
- open org.netbeans.modules.cnd.makeproject.api.configurations.Folder
- invoke call hierarchy for private method addItemImpl => all usages from Folder class are shown
- quickly expand all the first level nodes starting from the last => no second level children will be shown which is incorrect

Looks like calculation was cancelled on currently expanding node, while another node was asked to be expanded
Comment 1 Ralph Ruijs 2012-10-29 12:12:18 UTC
Changeset: c2fc709e8815
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-10-29 13:08
Comment 2 Quality Engineering 2012-10-30 02:34:47 UTC
Integrated into 'main-golden', will be available in build *201210300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c2fc709e8815
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #220774 - call hierarchy shows incorrect results