Community
Participate
Working Groups
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)
Created attachment 189979 [details] Error log
I was able to restart by deleting my deltas.xml file. However this is not an acceptable step to require users to make on upgrade.
As it stands now this is a known problem and a won't fix. Any change to the schema is un-upgradable at the moment. PW
Preserving UI state after upgrade isn't critical, but having an upgrade result in a broken install that can never be started is no good. I would hope that we can at least detect that the deltas.xml refers to an old model version, and discard it automatically to allow the UI to come up.
Created attachment 190157 [details] Old delta file that caused the failure on restart The file is zipped to make it smaller.
Created attachment 190164 [details] Reconciler patch v1 The old (and now unknown) changes are technically already being discarded but it seems that this causes a discord in the entire system preventing it from running. I have increased the version of the reconciler so that it will discard the deltas of previous versions. Unfortunately, this will mean that your deltas will be discarded when the next build shows up (even though you are not actually affected by it anymore since you've been using a recent build). If you care about your state then modify your deltas.xml file manually by changing <changes version="1.0"> to <changes version="1.1">.
(In reply to comment #6) > Created attachment 190164 [details] > Reconciler patch v1 Patch released to CVS HEAD.
Verified that a workspace previously opened by I20110114-1005 can be opened by I20110307-2200.