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

Bug 333407

Summary: error when opening browser : "facetContext is not set"
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.