Bug 577275 - Opened CSS Spy destroys Eclipse workbench state on next startup
Summary: Opened CSS Spy destroys Eclipse workbench state on next startup
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.22   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 4.23 M1   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-15 22:10 EST by Kit Lo CLA
Modified: 2022-02-15 03:52 EST (History)
2 users (show)

See Also:


Attachments
Eclipse log file (23.17 KB, text/plain)
2021-11-15 22:11 EST, Kit Lo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kit Lo CLA 2021-11-15 22:10:16 EST
Build ID:
I20211115-0600

Testcase:
- Launch Eclipse
- Open "Preference Spy" and "CSS Spy" views from "Window > Show View > Other... >
  Eclipse Runtime Spies" pulldown menu
- Exit Eclipse
- Launch Eclipse again
- "Preference Spy" and "CSS Spy" views do not persist in Eclipse workbench
- Found the following messages in log file:
  - Not properly disposed SWT resource
  - Unable to load resource file:.../eclipse/workspace/.metadata/.plugins
    /org.eclipse.e4.workbench/workbench.xmi
  - The persisted application model has no top-level window. Reinitializing with
    the default application model.
Comment 1 Kit Lo CLA 2021-11-15 22:11:03 EST
Created attachment 287523 [details]
Eclipse log file
Comment 2 Andrey Loskutov CLA 2021-11-24 12:43:21 EST
Preference Spy seem to be OK, but!!!

By opening CSS Spy and restarting Eclipse user looses entire workbench state.
*Everything* is gone because workbench.xmi was broken & replaced by default one!
I've just lost everything in my default SDK workspace arrrrgh!

That must be fixed.
Comment 3 Eclipse Genie CLA 2021-11-24 15:27:58 EST
New Gerrit change created: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/188092
Comment 5 Lars Vogel CLA 2021-12-10 10:10:41 EST
.
Comment 6 Lars Vogel CLA 2021-12-13 08:19:28 EST
Validated in Eclipse SDK
Version: 2022-03 (4.23)
Build id: I20211212-1800
OS: Windows 10, v.10.0, x86_64 / win32
Java vendor: Eclipse Foundation
Java runtime version: 11.0.12+7
Java version: 11.0.12
Comment 7 Vikas Chandra CLA 2022-01-06 07:47:06 EST
Lars, can you please verify this fix?