Open eclipse-ocl-bot opened 1 month ago
By Nicolas Rouquette on Jun 02, 2013 05:17
Eclipse Build id: 20130529-2219
By Ed Willink on Jun 02, 2013 16:22
This is the same problem as bug 402780; retitling as the more overt Console Save/Restore bug.
Not sure if anything will happen soon since this functionality is likely to absorbed in a more general suite of debugger views.
| --- | --- | | Bugzilla Link | 409669 | | Status | NEW | | Importance | P3 normal | | Reported | Jun 02, 2013 05:16 EDT | | Modified | Jun 02, 2013 16:22 EDT | | Version | 4.0.0 | | Reporter | Nicolas Rouquette |
Description
Created attachment 231850\ OCL query saved using the 'XText OCL Console'
This is related to 409667 but it is different.
Using the same attachments as 409667, I can save an OCL query from the 'XText OCL Console' but not from the 'Interactive OCL' console.
However, when I open the query in the 'sample reflective ecore model editor', I get the same error as 409667.
{code}\ java.net.MalformedURLException: unknown protocol: pivot\ at java.net.URL.(URL.java:574)\
at java.net.URL.(URL.java:464)\
at java.net.URL.(URL.java:413)\
at org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:187)\
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)\
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1269)\
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)\
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)\
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)\
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)\
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:198)\
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:258)\
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)\
at org.eclipse.ocl.examples.pivot.internal.impl.TypedElementImpl.getType(TypedElementImpl.java:112)\
at org.eclipse.ocl.examples.pivot.internal.impl.VariableExpImpl.eGet(VariableExpImpl.java:189)\
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)\
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)\
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:998)\
at org.eclipse.emf.edit.provider.ItemPropertyDescriptor.getValue(ItemPropertyDescriptor.java:1312)\
at org.eclipse.emf.edit.provider.ItemPropertyDescriptor.getPropertyValue(ItemPropertyDescriptor.java:1360)\
at org.eclipse.emf.edit.ui.provider.PropertySource.getPropertyValue(PropertySource.java:86)\
at org.eclipse.ui.views.properties.PropertySheetEntry.refreshValues(PropertySheetEntry.java:611)\
at org.eclipse.ui.views.properties.PropertySheetEntry.refreshChildEntries(PropertySheetEntry.java:568)\
at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:760)\
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:973)\
at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)\
at org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage.selectionChanged(ExtendedPropertySheetPage.java:326)\
at org.eclipse.ui.views.properties.PropertySheet.partActivated(PropertySheet.java:338)\
at org.eclipse.ui.part.PageBookView.showBootstrapPart(PageBookView.java:928)\
at org.eclipse.ui.part.PageBookView.createPartControl(PageBookView.java:494)\
at org.eclipse.ui.views.properties.PropertySheet.createPartControl(PropertySheet.java:157)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:174)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)\
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\
at java.lang.reflect.Method.invoke(Method.java:597)\
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)\
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)\
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)\
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)\
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)\
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)\
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:526)\
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:511)\
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:61)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)\
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1096)\
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:66)\
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)\
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)\
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)\
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4648)\
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)\
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)\
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)\
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)\
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)\
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)\
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)\
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)\
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)\
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)\
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)\
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$9.widgetSelected(StackRenderer.java:885)\
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)\
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4164)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)\
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)\
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3061)\
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1753)\
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:278)\
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4164)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)\
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)\
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4010)\
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3649)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)\
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)\
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)\
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)\
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)\
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\
at java.lang.reflect.Method.invoke(Method.java:597)\
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)\
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)\
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)\
{code}
q1.xmi