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
element);
		} else {
			constructObjectDeltas(deltas, references, object, element);
		}
	}
	private void constructEntryDelta(Collection<ModelDelta> deltas, EStructuralFeature feature,
			EObject object, Element element) {
		if (element.getAttribute(UNSET_ATTNAME).equals(UNSET_ATTVALUE_TRUE)) {
			EMFDeltaEntrySet delta = new EMFDeltaEntrySet(object, feature,
					element.getAttribute(ENTRY_ATTVALUE_KEY), null);
			deltas.add(delta);
		} else {
			EMFDeltaEntrySet delta = new EMFDeltaEntrySet(object, feature,
					element.getAttribute(ENTRY_ATTVALUE_KEY),
					element.getAttribute(ENTRY_ATTVALUE_VALUE));
			deltas.add(delta);
		}
	}
	private void constructObjectDeltas(Collection<ModelDelta> deltas, List<Object> references,
			EObject object, Element element) {
		NodeList nodeList = (NodeList) element;
		for (int i = 0; i < nodeList.getLength(); i++) {
			Node node = nodeList.item(i);
			if (!(node instanceof Element)) {
				continue;
			}
			Element innerElement = (Element) node;
			String featureName = innerElement.getNodeName();
			EStructuralFeature feature = getStructuralFeature(object, featureName);
			if (feature != null) {