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
if (entry instanceof Element) {
									Element keyValue = (Element) entry;
									map.put(keyValue.getAttribute(ENTRY_ATTVALUE_KEY),
											keyValue.getAttribute(ENTRY_ATTVALUE_VALUE));
								}
							}
						} else {
							object.eSet(attributeFeature,
									getValue(attributeFeature, item.getAttribute(attributeName)));
						}
					}
				}
			}
		}
		return compositeDelta;
	}
	private ModelDelta createUnorderedChainedAttributeDelta(EObject object,
			EStructuralFeature feature, Element node, String featureName) {
		Set<Object> values = new HashSet<Object>();
		NodeList attributes = (NodeList) node;
		for (int j = 0; j < attributes.getLength(); j++) {
			Node item = attributes.item(j);
			if (item instanceof Element) {
				Element attribute = (Element) item;
				Object value = getValue(feature, attribute.getAttribute(featureName));
				values.add(value);
			}
		}
		List<?> currentValues = (List<?>) object.eGet(feature);
		values.addAll(currentValues);