| Summary: | [All table] bug with table using facets : NPE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Vincent Lorenzo <vincent.lorenzo> | ||||
| Component: | Core | Assignee: | Vincent Lorenzo <vincent.lorenzo> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | emft.facet-inbox | ||||
| Version: | 0.8.0 | ||||||
| Target Milestone: | SR1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 352580 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Vincent Lorenzo
To correct this error, we should do : FacetSetCatalog.getSingleton(); to be sure the facets are loaded before opening the Papyrus table. Problem : the access to FacetSetCatalog is restricted for Papyrus. (internal). I think the best should be to correct this default in EMF-Facet, loading the facet when the widget is created (for example). Created attachment 199548 [details]
This patch corrects the bug : we load the facets earlier to avoid error in Papyrus Table
(1) I, Vincent Lorenzo, wrote 100% of the code I've provided.
(2) This code contains no cryptography
(3) I have the right to contribute the code to Eclipse.
(4) I contribute the content under the EPL.
This bug can be marked as closed fixed. We didn't commit the patch, because EMF-Facet corrected the problem. |