Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315661 - Error "Failed to load bundle" when trying to apply a facet
Summary: Error "Failed to load bundle" when trying to apply a facet
Status: CLOSED WORKSFORME
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 15:46 EDT by Fabien Giquel CLA
Modified: 2010-10-04 13:35 EDT (History)
3 users (show)

See Also:


Attachments
The JSP metamodel (97.52 KB, application/java-archive)
2010-06-03 15:47 EDT, Fabien Giquel CLA
no flags Details
The MoDisco project (3.80 KB, application/zip)
2010-06-03 15:47 EDT, Fabien Giquel CLA
no flags Details
The model xmi file (85.86 KB, application/octet-stream)
2010-06-03 15:47 EDT, Fabien Giquel CLA
no flags Details
One error message (9.85 KB, text/plain)
2010-06-03 15:48 EDT, Fabien Giquel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.