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

Summary: call hierarchy shows incorrect results
Product: java Reporter: Vladimir Voskresensky <vv159170>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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