0

I have a problem when updating from egit 5.4 to 5.8 and also updating to latest Eclipse RCP 4.16 . The clone operation works ok, but the "Repositories view" remains empty. The Added repos can be selected from the GitStaging view. No errors in the logs, how can I solve that?

empty repository view after repo is added

The AddRepositories view This is how the addRepositories view look, I tried with brand new repos and also with existing ones. still they arent'd displayed in the Git Repositories view

Azure
  • 11
  • 2
  • Click the second (the first yellow) toolbar button to add exisiting Git repositories to this view. – howlger Jul 23 '20 at 12:48
  • @howlger Well that's actually the problem...Obviously i selected a repository before and still the Repositories view remains empty. But in the Git Staging view i have the option of switching between repository, and the repository added previously is there. – Azure Jul 23 '20 at 13:18
  • Is your Git repository or your workspace on a network drive? Which operating system? – howlger Jul 23 '20 at 13:26
  • no, i tried with local git repository/ workspace and it still doesn't work. Using Windows10 – Azure Jul 23 '20 at 14:10
  • It works for me using Windows 10. Could you please show your _Add Git Repositories_ dialog and tell what you did there? Please also tell the location of your workspace and the location of the Git repositories you added. Can you reproduce this issue using a new workspace? – howlger Jul 24 '20 at 07:02
  • @howlger My workspace is on Desktop and the repos are at C:\something\Repo..I get this error for a new workspace also – Azure Jul 28 '20 at 11:16

1 Answers1

1

The fix for this is overriding the following method in the ApplicationWorkbenchAdvisor class:

  @Override
  public IAdaptable getDefaultPageInput() {
     return ResourcesPlugin.getWorkspace().getRoot();
  }
Azure
  • 11
  • 2