| Summary: | [RCP] Null pointer exception when shutting down Eclipse based RCP: | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Pawan Singh <psingh> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED INVALID | QA Contact: | Prakash Rangaraj <prakash> |
| Severity: | normal | ||
| Priority: | P3 | CC: | pwebster, remy.suen |
| Version: | 3.5.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Pawan Singh
(In reply to comment #0) > Build Identifier: M20100211-1343 Does this happen on 3.6? > 1. Close Eclipse/RCP and restart it. The stack trace indicates that the workbench window is being closed. Is restarting actually relevant? (In reply to comment #1) > (In reply to comment #0) > > Build Identifier: M20100211-1343 > > Does this happen on 3.6? > > > 1. Close Eclipse/RCP and restart it. > > The stack trace indicates that the workbench window is being closed. Is > restarting actually relevant? Pawan, Can you answer the question? Paul, Is WorkbenchWindowAdvisor.preWindowShellClose() calling WorkbenchWindow.close() a valid call? No, you cannot call WorkbenchWindow.close() from within the preWindowShellClose(). WorkbenchWindow.close() must close the window before it returns, and preWindowShellClose() must return true or false to a WorkbenchWindow that's still in the transition state (since false can prevent its closing). PW Thanks for the info guys. You can close this bug then as user error. We will fix our RCP code. |