Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315661

Summary: Error "Failed to load bundle" when trying to apply a facet
Product: [Modeling] MoDisco Reporter: Fabien Giquel <fabien.giquel>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The JSP metamodel
none
The MoDisco project
none
The model xmi file
none
One error message none

Description Fabien Giquel CLA 2010-06-03 15:46:12 EDT
Scenario :

- Eclipse Helios RC2
- MoDisco 0.8.0 installed
- droping the mm bundle "org.eclipse.gmt.modisco.jsp.jar" in /dropins
- in workspace, import project "JspMoDiscoProject" which defines a simple querySet and FacetSet on metamodel "JSP" (which extends "modisco.xml")
- opening the TestWebApp.jspxmi in MoDisco browser
- applying the facetSet "JSP"

--> multiple errors in log errors (one attached). It seems that the hot loading of the MoDisco bundle does not work.


I tried this :
- create again the FacetSet in another workspace in other Eclipse install : still have error
- create one simple other metamodel which extends "modisco.xml" and apply the same scenario : dit not obtain the error
Comment 1 Fabien Giquel CLA 2010-06-03 15:47:08 EDT
Created attachment 171012 [details]
The JSP metamodel
Comment 2 Fabien Giquel CLA 2010-06-03 15:47:28 EDT
Created attachment 171013 [details]
The MoDisco project
Comment 3 Fabien Giquel CLA 2010-06-03 15:47:53 EDT
Created attachment 171014 [details]
The model xmi file
Comment 4 Fabien Giquel CLA 2010-06-03 15:48:16 EDT
Created attachment 171015 [details]
One error message
Comment 5 Fabien Giquel CLA 2010-06-07 12:01:22 EDT
The bug does not occur anymore using Eclipse RC4 (it happens with RC3).
Comment 6 Fabien Giquel CLA 2010-06-22 06:19:30 EDT
The bug does not occur for following install :

- install "Eclipse Classic RC4 bundle"
- install MoDisco components from Helios release update site
(-install ATL, Acceleo from Helios release update site : still working)


The bug occurs for following install :

- install "Eclipse Modeling RC4 bundle"
- install MoDisco, ATL, Acceleo from "install modeling components button" (Amalgamation)
Comment 7 Nicolas Bros CLA 2010-07-13 05:52:51 EDT
I tested using the configuration with which you experienced the bug, and it worked for me:

- I installed Eclipse (Build id: 20100610-0636) from eclipse-modeling-helios-RC4-incubation-win32.zip
- I installed MoDisco, ATL and Acceleo using "Install Modeling Components"
- I imported your attached project and XMI file
- I opened the XMI file with the MoDisco model browser and applied the Facet successfully
Comment 8 Hugo Bruneliere CLA 2010-10-04 13:35:15 EDT
It was not a bug.