Failure to initialize status after removal of a repository
When Eclipse started after a repository has been removed, the following error in the Error Log view prevented the initialization of status information for all projects:
java.lang.NullPointerException
at com.vectrace.MercurialEclipse.storage.HgRepositoryLocationManager.getRootKey(HgRepositoryLocationManager.java:510)
at com.vectrace.MercurialEclipse.storage.HgRepositoryLocationManager.removeFromPreferences(HgRepositoryLocationManager.java:801)
at com.vectrace.MercurialEclipse.storage.HgRepositoryLocationManager.disposeRepository(HgRepositoryLocationManager.java:781)
at com.vectrace.MercurialEclipse.repository.actions.RemoveRootAction.run(RemoveRootAction.java:68)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:171)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:579)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:413)
at org.eclipse.jface.action.ActionContributionItem$$Lambda$363/0000000000000000.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4213)