Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333407 - error when opening browser : "facetContext is not set"
Summary: error when opening browser : "facetContext is not set"
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.9.0 M5   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 05:39 EST by Nicolas Bros CLA
Modified: 2011-04-28 10:43 EDT (History)
2 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-01-03 05:39:00 EST
I encountered the following exception :

java.lang.IllegalStateException: facetContext is not set
at org.eclipse.gmt.modisco.infra.facet.core.adapters.instances.MetaclassInstancesAdapterFactoryWithFacet.createAdapter(MetaclassInstancesAdapterFactoryWithFacet.java:61)
at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.createAdapter(AdapterFactoryImpl.java:133)
at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adaptNew(AdapterFactoryImpl.java:107)
at org.eclipse.gmt.modisco.infra.facet.core.adapters.instances.MetaclassInstancesAdapterFactoryWithFacet.adapt(MetaclassInstancesAdapterFactoryWithFacet.java:52)
at org.eclipse.gmt.modisco.infra.browser.core.InstancesForMetaclasses.unwatchResource(InstancesForMetaclasses.java:145)
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser$11.notifyChanged(EcoreBrowser.java:844)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:380)
at org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1033)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:319)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser.createModel(EcoreBrowser.java:509)
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser.initResourceSet(EcoreBrowser.java:804)
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser.backgroundOpenModel(EcoreBrowser.java:658)
at org.eclipse.gmt.modisco.infra.browser.editors.EcoreBrowser$22.run(EcoreBrowser.java:1964)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Nicolas Bros CLA 2011-01-03 05:43:20 EST
Fixed in revision 3675.
Comment 2 Hugo Bruneliere CLA 2011-01-11 05:24:34 EST
Bug fixed.