Summary: | [Perspectives] NPE in WorkbenchPlugin.createExtension when starting new build for first time | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Knut Radloff <knut_radloff> | ||||
Component: | UI | Assignee: | Simon Arsenault <simon_arsenault> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P2 | CC: | dejan | ||||
Version: | 2.1 | ||||||
Target Milestone: | 3.0 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Knut Radloff
2003-06-11 12:43:20 EDT
Created attachment 5164 [details]
log file
I went back to the 0605 build, opened the Install/Update perspective and then started 0611. I got the same "Cannot restore perspective" dialog when starting Eclipse with the 0611 build. When I click on the perspective icon that used to be the Install/Update perspective (now just an empty "window" icon) I get the same error dialog again. At this point the error messages I quote above, except for the NPE, are printed in the (Windows) console. I cannot reproduce the NPE. The install/update perspective is gone as of M1. Looks like the workbench could definitely be handling this better. Fixed the code that caused the NPE (was able to reproduce it). How the workbench handles missing perspectives, views, editors, actions, etc definitions (because a plugin is missing or invalid), should be improved. I see no reason why we want to display the ids to the users...it means probably nothing to them. I think providing a message along indicates some perspectives/views/editors/actions were not restored because they no longer exist in the application (or something along those lines). We could add more details information in the .log file. I've opened a new bug report to capture this problem that has yet to be done. See bug 39037 |