Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » stacktraces in aggregator when trying to drag/drop/copy/paste
stacktraces in aggregator when trying to drag/drop/copy/paste [message #532760] Tue, 11 May 2010 03:40 Go to next message
David  is currently offline David
Messages: 88
Registered: July 2009
Member
b3 Aggregator Editor (Incubation) 0.1.0.r00981
eclipse.buildId=I20100429-1549 (M7 release of helios)

i get :

Unhandled event loop exception

java.lang.UnsupportedOperationException
at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap perImpl.setName(ProvidedCapabilityWrapperImpl.java:354)
at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap perImpl.eSet(ProvidedCapabilityWrapperImpl.java:251)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:1081)
at org.eclipse.emf.edit.command.InitializeCopyCommand.copyAttri butes(InitializeCopyCommand.java:142)
at org.eclipse.emf.edit.command.InitializeCopyCommand.doExecute (InitializeCopyCommand.java:120)
at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:131)
at org.eclipse.emf.common.command.CompoundCommand.execute(Compo undCommand.java:267)
at org.eclipse.emf.common.command.StrictCompoundCommand.execute (StrictCompoundCommand.java:303)
at org.eclipse.emf.edit.command.CopyCommand.execute(CopyCommand .java:216)
at org.eclipse.emf.edit.command.DragAndDropCommand.prepareDropC opyOn(DragAndDropCommand.java:767)
at org.eclipse.emf.edit.command.DragAndDropCommand.prepareDropO n(DragAndDropCommand.java:695)
at org.eclipse.emf.edit.command.DragAndDropCommand.prepare(Drag AndDropCommand.java:307)
at org.eclipse.emf.common.command.AbstractCommand.canExecute(Ab stractCommand.java:114)
at org.eclipse.emf.edit.command.DragAndDropCommand.validate(Dra gAndDropCommand.java:892)
at org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter.h elper(EditingDomainViewerDropAdapter.java:311)
at org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter.d ragEnter(EditingDomainViewerDropAdapter.java:143)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :60)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 73)
at org.eclipse.swt.dnd.DropTarget.DragEnter(DropTarget.java:297 )
at org.eclipse.swt.dnd.DropTarget$3.method3(DropTarget.java:243 )
at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMOb ject.java:92)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :172)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

when trying to drag and drop inside the UI, especially when dragging features or categories around.

copy paste seems not working either as it gives me:

An exception was ignored during command execution

org.eclipse.emf.common.util.WrappedException: An exception was ignored during command execution
at org.eclipse.emf.common.command.BasicCommandStack.handleError (BasicCommandStack.java:287)
at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:118)
at org.eclipse.emf.edit.ui.action.CommandActionHandler.run(Comm andActionHandler.java:92)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.lang.UnsupportedOperationException
at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap perImpl.setName(ProvidedCapabilityWrapperImpl.java:354)
at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap perImpl.eSet(ProvidedCapabilityWrapperImpl.java:251)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:1081)
at org.eclipse.emf.edit.command.InitializeCopyCommand.copyAttri butes(InitializeCopyCommand.java:142)
at org.eclipse.emf.edit.command.InitializeCopyCommand.doExecute (InitializeCopyCommand.java:120)
at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:131)
at org.eclipse.emf.common.command.CompoundCommand.execute(Compo undCommand.java:267)
at org.eclipse.emf.common.command.StrictCompoundCommand.execute (StrictCompoundCommand.java:303)
at org.eclipse.emf.edit.command.CopyCommand.execute(CopyCommand .java:216)
at org.eclipse.emf.edit.command.CopyToClipboardCommand.doExecut e(CopyToClipboardCommand.java:114)
at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe cute(AbstractOverrideableCommand.java:131)
at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas icCommandStack.java:84)
... 29 more

best regards

David


Re: stacktraces in aggregator when trying to drag/drop/copy/paste [message #532770 is a reply to message #532760] Tue, 11 May 2010 03:57 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip Hrbek
Messages: 233
Registered: July 2009
Senior Member
Hi David,

thanks for discovering this bug. We haven't paid much attention to drag&drop testing yet.

Could you please enter a bugzilla issue on this?

Thanks,

Filip


David wrote:
> b3 Aggregator Editor (Incubation) 0.1.0.r00981
> eclipse.buildId=I20100429-1549 (M7 release of helios)
>
> i get :
>
> Unhandled event loop exception
>
> java.lang.UnsupportedOperationException
> at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap
> perImpl.setName(ProvidedCapabilityWrapperImpl.java:354)
> at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap
> perImpl.eSet(ProvidedCapabilityWrapperImpl.java:251)
> at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec
> tImpl.java:1081)
> at org.eclipse.emf.edit.command.InitializeCopyCommand.copyAttri
> butes(InitializeCopyCommand.java:142)
> at org.eclipse.emf.edit.command.InitializeCopyCommand.doExecute
> (InitializeCopyCommand.java:120)
> at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe
> cute(AbstractOverrideableCommand.java:131)
> at org.eclipse.emf.common.command.CompoundCommand.execute(Compo
> undCommand.java:267)
> at org.eclipse.emf.common.command.StrictCompoundCommand.execute
> (StrictCompoundCommand.java:303)
> at org.eclipse.emf.edit.command.CopyCommand.execute(CopyCommand .java:216)
> at org.eclipse.emf.edit.command.DragAndDropCommand.prepareDropC
> opyOn(DragAndDropCommand.java:767)
> at org.eclipse.emf.edit.command.DragAndDropCommand.prepareDropO
> n(DragAndDropCommand.java:695)
> at org.eclipse.emf.edit.command.DragAndDropCommand.prepare(Drag
> AndDropCommand.java:307)
> at org.eclipse.emf.common.command.AbstractCommand.canExecute(Ab
> stractCommand.java:114)
> at org.eclipse.emf.edit.command.DragAndDropCommand.validate(Dra
> gAndDropCommand.java:892)
> at org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter.h
> elper(EditingDomainViewerDropAdapter.java:311)
> at org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter.d
> ragEnter(EditingDomainViewerDropAdapter.java:143)
> at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java :60)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 73)
> at org.eclipse.swt.dnd.DropTarget.DragEnter(DropTarget.java:297 )
> at org.eclipse.swt.dnd.DropTarget$3.method3(DropTarget.java:243 )
> at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMOb
> ject.java:92)
> at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
> at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
> at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
> at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java :172)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault
> (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
> bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start
> (IDEApplication.java:115)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> 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: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>
> when trying to drag and drop inside the UI, especially when dragging
> features or categories around.
>
> copy paste seems not working either as it gives me:
>
> An exception was ignored during command execution
>
> org.eclipse.emf.common.util.WrappedException: An exception was ignored
> during command execution
> at org.eclipse.emf.common.command.BasicCommandStack.handleError
> (BasicCommandStack.java:287)
> at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas
> icCommandStack.java:118)
> at org.eclipse.emf.edit.ui.action.CommandActionHandler.run(Comm
> andActionHandler.java:92)
> at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv
> ent(BaseSelectionListenerAction.java:168)
> at org.eclipse.jface.action.ActionContributionItem.handleWidget
> Selection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act
> ionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven
> t(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault
> (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
> bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start
> (IDEApplication.java:115)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.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(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> 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: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> Caused by: java.lang.UnsupportedOperationException
> at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap
> perImpl.setName(ProvidedCapabilityWrapperImpl.java:354)
> at org.eclipse.b3.aggregator.p2view.impl.ProvidedCapabilityWrap
> perImpl.eSet(ProvidedCapabilityWrapperImpl.java:251)
> at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec
> tImpl.java:1081)
> at org.eclipse.emf.edit.command.InitializeCopyCommand.copyAttri
> butes(InitializeCopyCommand.java:142)
> at org.eclipse.emf.edit.command.InitializeCopyCommand.doExecute
> (InitializeCopyCommand.java:120)
> at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe
> cute(AbstractOverrideableCommand.java:131)
> at org.eclipse.emf.common.command.CompoundCommand.execute(Compo
> undCommand.java:267)
> at org.eclipse.emf.common.command.StrictCompoundCommand.execute
> (StrictCompoundCommand.java:303)
> at org.eclipse.emf.edit.command.CopyCommand.execute(CopyCommand .java:216)
> at org.eclipse.emf.edit.command.CopyToClipboardCommand.doExecut
> e(CopyToClipboardCommand.java:114)
> at org.eclipse.emf.edit.command.AbstractOverrideableCommand.exe
> cute(AbstractOverrideableCommand.java:131)
> at org.eclipse.emf.common.command.BasicCommandStack.execute(Bas
> icCommandStack.java:84)
> ... 29 more
>
> best regards
>
> David
>
>
>
Re: stacktraces in aggregator when trying to drag/drop/copy/paste [message #532773 is a reply to message #532770] Tue, 11 May 2010 04:17 Go to previous message
David  is currently offline David
Messages: 88
Registered: July 2009
Member
here you go:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=312379

best regards

David
Re: stacktraces in aggregator when trying to drag/drop/copy/paste [message #606972 is a reply to message #532770] Tue, 11 May 2010 04:17 Go to previous message
David  is currently offline David
Messages: 88
Registered: July 2009
Member
here you go:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=312379

best regards

David
Previous Topic:stacktraces in aggregator when trying to drag/drop/copy/paste
Next Topic:serialization issue fixed in head
Goto Forum:
  


Current Time: Fri Jul 25 14:33:43 EDT 2014

Powered by FUDForum. Page generated in 0.03094 seconds