Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319004 - CCE caused by PartRenderingEngine assuming a parent eContainer() is an MElementContainer
Summary: CCE caused by PartRenderingEngine assuming a parent eContainer() is an MEleme...
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M6   Edit
Assignee: Remy Suen CLA
QA Contact: Eric Moffatt CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 09:04 EDT by Remy Suen CLA
Modified: 2011-03-08 13:37 EST (History)
0 users

See Also:


Attachments
PartRenderingEngineTests tests patch v1 (2.30 KB, patch)
2010-07-06 09:05 EDT, Remy Suen CLA
no flags Details | Diff
PartRenderingEngine patch v1 (3.38 KB, patch)
2011-02-09 16:11 EST, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-07-06 09:04:23 EDT
An MMenu's container could be an MPart, which leads to a CCE in createGui(MUIElement).
Comment 1 Remy Suen CLA 2010-07-06 09:05:32 EDT
Created attachment 173544 [details]
PartRenderingEngineTests tests patch v1

Tests patch to reproduce the problem.
Comment 2 Remy Suen CLA 2011-02-09 16:11:13 EST
Created attachment 188625 [details]
PartRenderingEngine patch v1
Comment 3 Remy Suen CLA 2011-02-09 16:12:13 EST
(In reply to comment #2)
> Created attachment 188625 [details]
> PartRenderingEngine patch v1

Fix and test released to HEAD.
Comment 4 Remy Suen CLA 2011-03-08 13:37:03 EST
Verified by code inspection with I20110307-2200 on Windows XP. Also checked that the new test was run for that build.