| Summary: | Binding Management raises AssertionError in pure e4 app | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Brian de Alwis <bsd> |
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | pwebster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Brian de Alwis
BindingPersistence should only be running in a compat layer app. BindingToModelProcessor is the compat extension point to model translator. That's being contributed from org.eclipse.ui.workbench (compat), is that included in your e4 app (or simply in your launch config)? PW (In reply to comment #1) > BindingPersistence should only be running in a compat layer app. > BindingToModelProcessor is the compat extension point to model translator. > That's being contributed from org.eclipse.ui.workbench (compat), is that > included in your e4 app (or simply in your launch config)? I am including org.eclipse.ui.workbench to pull in some useful classes. But now that I look through the code, it seems it was just to pull in org.eclipse.ui.services.IDisposable (which I realize is used by old code that predates @PreDestroy), and org.eclipse.ui.preferences.ScopedPreferenceStore. I've dropped all refs to o.e.ui.workbench and made a copy of ScopedPreferenceStore, and all is now well. *** Bug 332352 has been marked as a duplicate of this bug. *** You can only include o.e.ui.workbench if you are running the compatibility layer, as the extensions it contributes will be processed as soon as it is included. PW |