| Summary: | Defect EMF tree editor in RAP | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | patins <joerg> |
| Component: | Core | Assignee: | Ed Merks <Ed.Merks> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | dennis.huebner, mknauer |
| Version: | unspecified | ||
| Target Milestone: | Kepler | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
Assigning to the EMF project... the code you are mentioning is under their control. I am not familiar with the code passage where the SessionSingletonBase class is being loaded, but we changed the Java package of this class between RAP version 1.x and 2.0. Maybe something in CommonPlugin doesn't work as expected, but I'd say that it makes sense to reference the class SessionSingletonBase in a non-qualified way. Dennis is looking into whether or why our EMF RAP M6 contribution is missing or is missing this fix... *** This bug has been marked as a duplicate of bug 399246 *** The fix appears in downloads/modeling/emf/emf/updates/2.9milestones/core/S201303180639/plugins/org.eclipse.emf.rap.edit.ui.source_2.9.0.v20130318-0639.jar Dennis also confirms it's in the Kepler repo, so I'mn sure from which repo you installed this older version with the bug, but it's definitely not the M6 version that you installed... |
This bug occurs in M6/Kepler and is in plugin org.eclipse.emf.rap.edit.ui The line <code> Class<?> singletonUtilityClass = CommonPlugin.loadClass("org.eclipse.rap.rwt", "SessionSingletonBase"); </code> needs to be changed to <code> Class<?> singletonUtilityClass = CommonPlugin.loadClass("org.eclipse.rap.rwt", "org.eclipse.rap.rwt.SessionSingletonBase"); </code> (see the full qualification) Otherwise no images in the RAP version of the EMF tree editor, as a full qualified class name is required! More over, the tree editor will not open at all, if I remember right.