eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

error when opening browser : "facetContext is not set" #618

Closed eclipse-modisco-bot closed 2 hours ago

eclipse-modisco-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 333407 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Jan 03, 2011 05:39 EDT | | Modified | Apr 28, 2011 10:43 EDT | | Version | 0.9.0 | | Reporter | Nicolas Bros |

Description

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)

eclipse-modisco-bot commented 2 hours ago

By Nicolas Bros on Jan 03, 2011 05:43

Fixed in revision 3675.

eclipse-modisco-bot commented 2 hours ago

By Hugo Bruneliere on Jan 11, 2011 05:24

Bug fixed.