Bug 338444 Unable to restart after upgrade
I upgraded from I20110114 to I20110225. After the upgrading, the workbench will not start. There are a large number of NPE's in the log. I will attach the whole log, but here are some example: Caused by: java.lang.NullPointerException at org.eclipse.ui.internal.Workbench.contains(Workbench.java:1870) at org.eclipse.ui.internal.Workbench.defineBindingTable(Workbench.java:1852) java.lang.NullPointerException at org.eclipse.ui.internal.Workbench.setReference(Workbench.java:1681) at org.eclipse.ui.internal.Workbench.access$19(Workbench.java:1677)
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/XMLModelReconciler.java
return new EMFModelDeltaSet(eObject, feature, match);
	}
	private ModelDelta createMapDelta(EObject object, Element innerElement,
			EStructuralFeature feature) {
		Map<String, String> deltaMap = new HashMap<String, String>();
		NodeList attributes = (NodeList) innerElement;
		for (int j = 0; j < attributes.getLength(); j++) {
			Node entry = attributes.item(j);
			if (entry instanceof Element) {
				Element keyValue = (Element) entry;
				String key = keyValue.getAttribute(ENTRY_ATTVALUE_KEY);
				String value = keyValue.getAttribute(ENTRY_ATTVALUE_VALUE);
				deltaMap.put(key, value);
			}
		}
		return new EMFDeltaMapSet(object, feature, deltaMap);
	}
	private ModelDelta createDelayedDelta(EObject object, EStructuralFeature feature,
			Element element) {
		String referenceId = element.getAttribute(XMIID_ATTNAME);
		return new EMFModelDeltaDelayedSet(object, feature, rootObject, referenceId);
	}
	public static List<?> threeWayMerge(List<?> originalReferences, List<?> userReferences,
			List<?> currentReferences) {
		int userSize = userReferences.size();
		int originalSize = originalReferences.size();
		if (userSize == 0) {
			
			List<Object> collectedReferences = new ArrayList<Object>(currentReferences);
			collectedReferences.removeAll(originalReferences);