Search code examples
eclipseeclipse-junocall-hierarchy

Eclipse IDE - Open Call Hierarchy is empty/broken


What should I do, if the "Open Call Hierarchy" is broken (empty for every method in a project)? It only shows the name of the method I wanted to see the call hierarchy for. This happens for all methods I try, even though they are all called by other methods.

It is very useful for code navigation. I do not know how to work without it!

I've tried:

  1. Opening eclipse.exe -clean -refresh
  2. Restarting Eclipse
  3. Closing and reopening the project
  4. Updating the project
  5. Renaming the .metadata file

I've checked that it searches the whole workspace, and there are no filters on.


Solution

  • The following may help:

    • Calling eclipse with eclipse.exe -clean -refresh forces Eclipse to rebuild the index. After that the feature worked again.
    • Closing and re-opening the project.