eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Open Call Hierarchy failing

Open
#511 6 comments 0 reactions 0 assignees View on GitHub
java search
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 10h
Merged PRs (30d)
49

Description

For some time now I've been having problems with the the 'Open Call Hierarchy' feature.

The Call Hierarchy is not able to consistently show a hierarchy tree.

![image](https://user-images.githubusercontent.com/900408/199635698-1235af97-cf7e-4c61-a441-b9e7abb6df8e.png)

I've just upgraded to 4.25 with the same issue.

Version: 2022-09 (4.25.0)
Build id: 20220908-1902

I'm running Java 17 on Ubuntu 22.04

I've tried:
Performing an upgrade to 4.25.0 as well as a clean install of 4.25.0
Create a new workspace
Check 'Search In'
![image](https://user-images.githubusercontent.com/900408/199633134-0330cc6d-4cd3-48d5-a040-adac8091f557.png)

Checked that I have no filters set for the Call Hierarchy
![image](https://user-images.githubusercontent.com/900408/199633243-0f103865-6b5e-46a8-8f60-cb3dc615e0f1.png)

Confirmed the scope is set to workspace

In some cases I will see a single parent in the hierarchy tree.
![image](https://user-images.githubusercontent.com/900408/199633374-7a8668d3-a62e-4ef8-b0bd-710aedc1aa66.png)

Occasionally I get a full hierarchy.

There are no errors in the error log when I try to get the hierarchy.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with Eclipse 4.25.0, Java 17, and Ubuntu 22.04 using the Open Call Hierarchy action. Compare workspace and search-scope settings, filters, and the error log; done means the hierarchy consistently shows all expected callers and callees.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.