Community
Participate
Working Groups
I20040324 (0800) 1) Create a new workspace 2) Close all perspectives 3) Import a 2.1 preference file that has a custom perspective (pref file attached) 4) Using the "open a perspectivee" button, open the "Sumatra" perspective -> Error A) the workbench window resizes -> Error B) Concurrent modification exception in the log file 5) Click the "open a perspective" button again -> Error C) NPE in log file, dialog fails to open 6) File -> Exit -> Error D) Problems occurred saving the workbench
Created attachment 8851 [details] 2.1 prefs file that defines a perspective (Sumatra)
Created attachment 8852 [details] Log file showing stack traces
Step 5 should be followed by: - select a different perspective (such as Debug) -> Then the ConcurrentModificationException happens.
Deb we should see if we can get this sorted for M8.
Fixed for 200403251200
Fixed for M8.
*** Bug 56157 has been marked as a duplicate of this bug. ***
Verified in I200403251200.
I'm not sure if you opened a separate bug for the NPE (Error C in original report), but this is easily reproducible in I20040326-0800. Steps: 1) Create a new workspace 2) Close all perspectives 3) Import 2.1 preference file 4) Using the "open a perspective" button, open the "Sumatra" perspective 4) Using the "open a perspective" button, open the "Debug" perspective -> NPE in log file, dialog fails to open I no longer get the ConcurrentModificationException, however.
Sorry, when trying it again my steps weren't quite right. Try this: 1) Create a new workspace 2) Close all perspectives 3) Import 2.1 preference file 4) Using the "open a perspective" button, open the "Sumatra" perspective 5) Using the "open a perspective" button, open the "Debug" perspective -> Error restoring perspective 6) Using the "open a perspective" button, open the "Java" perspective 7) Click the "open a perspective" button again -> NPE in log file After this point you cannot open new perspectives without shutting down and restarting.
Created attachment 8912 [details] Log file Actually, after the first NPE, almost anything perspective-related breaks. This log shows another NPE when creating a Java project (which presumably will try to change to Java perspective).
The following PRs have been created: bug 56226 - 2.1 Preference file -> 3.0 workspace (JDT/Debug) bug 56380 - [DynamicUI] PerspectiveRegistry needs to be more resilient (Platform/UI) The original problem of a ConcurrentModificationException has been solved and is in M8. The remaining issues will not be addressed in M8. Am closing this PR as fixed for M8 and marking bug 56380 to be fixed in M9.