Undoing the merged ADD difference throwing exception. [message #1746644] |
Wed, 02 November 2016 13:08 |
Gaurav Tripathi Messages: 43 Registered: September 2015 |
Member |
|
|
Hi Team,
In EMF Compare when I choose to merge difference "ADD" and then do undo I am getting following error. Already definition file is there still it is taking as proxy.
Any solution will be of great help.
!MESSAGE org.eclipse.incquery.runtime.util.IncQueryLoggingUtil.org.eclipse.incquery.runtime.api.IncQueryEngine.1086989554 - EMF-IncQuery encountered an error in processing the EMF model. This happened while trying to handling the following update notification: org.eclipse.emf.ecore.impl.ENotificationImpl@623455c7 (eventType: ADD, position: 3, notifier: autosar40.ecucdescription.impl.EcucContainerValueImpl@67389381 (shortName: ComIPdu0) (index: <unset>), feature: org.eclipse.emf.ecore.impl.EReferenceImpl@f9a7f2 (name: parameterValues) (ordered: true, unique: true, lowerBound: 0, upperBound: -1) (changeable: true, volatile: false, transient: false, defaultValueLiteral: null, unsettable: false, derived: false) (containment: true, resolveProxies: false), oldValue: null, newValue: autosar40.ecucdescription.impl.EcucNumericalParamValueImpl@6565ceb (eProxyURI: ar:/#/AUTOSAR/Com0/ComConfig0/ComIPdu0/@objectsToAttach.0?type=EcucNumericalParamValue), isTouch: false, wasSet: true)
!STACK 0
java.lang.IllegalStateException: EReference 'parameterValues' of EClass autosar40.ecucdescription.EcucContainerValue is set as proxy-non-resolving (i.e. it should never point to a proxy, and never lead cross-resource), yet EMF-IncQuery Base encountered a proxy object autosar40.ecucdescription.impl.EcucNumericalParamValueImpl@6565ceb (eProxyURI: ar:/#/AUTOSAR/Com0/ComConfig0/ComIPdu0/@objectsToAttach.0?type=EcucNumericalParamValue) referenced from autosar40.ecucdescription.impl.EcucContainerValueImpl@67389381 (shortName: ComIPdu0) (index: <unset>).
at org.eclipse.incquery.runtime.base.comprehension.EMFModelComprehension.traverseFeatureInternal(EMFModelComprehension.java:249)
at org.eclipse.incquery.runtime.base.comprehension.EMFModelComprehension.traverseFeatureInternalSimple(EMFModelComprehension.java:210)
at org.eclipse.incquery.runtime.base.comprehension.EMFModelComprehension.traverseFeature(EMFModelComprehension.java:198)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter.featureUpdate(NavigationHelperContentAdapter.java:309)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter.handleNotification(NavigationHelperContentAdapter.java:258)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter.access$1(NavigationHelperContentAdapter.java:248)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter$1.call(NavigationHelperContentAdapter.java:221)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter$1.call(NavigationHelperContentAdapter.java:1)
at org.eclipse.incquery.runtime.base.core.NavigationHelperImpl.coalesceTraversals(NavigationHelperImpl.java:1001)
at org.eclipse.incquery.runtime.base.core.NavigationHelperContentAdapter.notifyChanged(NavigationHelperContentAdapter.java:210)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1027)
at org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1032)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:361)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:341)
at org.eclipse.emf.common.util.ECollections.setEList(ECollections.java:228)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.process(FeatureChangeImpl.java:593)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:518)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.applyAndReverse(FeatureChangeImpl.java:503)
at org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl.applyAndReverse(ChangeDescriptionImpl.java:371)
at org.eclipse.emf.edit.command.ChangeCommand.undo(ChangeCommand.java:163)
at org.eclipse.emf.workspace.EMFCommandOperation.doUndo(EMFCommandOperation.java:153)
at org.eclipse.emf.workspace.AbstractEMFOperation.undo(AbstractEMFOperation.java:370)
at org.eclipse.core.commands.operations.DefaultOperationHistory.doUndo(DefaultOperationHistory.java:420)
at org.eclipse.core.commands.operations.DefaultOperationHistory.undo(DefaultOperationHistory.java:1255)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.undo(WorkspaceCommandStackImpl.java:255)
at org.eclipse.emf.edit.ui.action.UndoAction.run(UndoAction.java:62)
at com.avinsystems.ecuc.compare.ui.internal.action.EcucUndoAction.run(EcucUndoAction.java:32)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
at org.eclipse.jface.window.Window.open(Window.java:803)
at org.eclipse.compare.internal.CompareDialog.open(CompareDialog.java:196)
at org.eclipse.compare.internal.CompareUIPlugin$4.run(CompareUIPlugin.java:1403)
at org.eclipse.compare.internal.CompareUIPlugin.syncExec(CompareUIPlugin.java:1413)
at org.eclipse.compare.internal.CompareUIPlugin.internalOpenDialog(CompareUIPlugin.java:1406)
at org.eclipse.compare.internal.CompareUIPlugin.openCompareDialog(CompareUIPlugin.java:580)
at org.eclipse.compare.CompareUI.openCompareDialog(CompareUI.java:211)
at com.avinsystems.ecuc.compare.ui.internal.handler.EcuConfigCompareHandler.execute(EcuConfigCompareHandler.java:106)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
|
|
|
Powered by
FUDForum. Page generated in 0.03407 seconds