Q7

java.lang.ClassCastException: org.eclipse.swt.widgets.ToolItem cannot be cast to org.eclipse.swt.widgets.Control

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.2.11
  • Fix Version/s: 1.2.x
  • Component/s: Runtime
  • Labels:
  • Environment:
    dogfood tigerstripe.
  • Test Mode:
    Manual

Description

Interesting exception in errorlog, then running tests over tigerstripe.

java.lang.ClassCastException: org.eclipse.swt.widgets.ToolItem cannot be cast to org.eclipse.swt.widgets.Control
at org.eclipse.swt.custom.CCombo$3.handleEvent(CCombo.java:145)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent_aroundBody2(Display.java:1253)
at org.eclipse.swt.widgets.Display$AjcClosure3.run(Display.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609acproceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$5$a74609ac(RecordingAspect.aj:148)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody2(Widget.java:1052)
at org.eclipse.swt.widgets.Widget$AjcClosure3.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892(RecordingAspect.aj:134)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody4(Widget.java:1077)
at org.eclipse.swt.widgets.Widget$AjcClosure5.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:67)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEventRaw(SWTEvents.java:72)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEvent(SWTEvents.java:53)
at com.xored.tesla.internal.ui.player.SWTUIPlayer$2.run(SWTUIPlayer.java:1037)
at com.xored.tesla.internal.ui.player.SWTUIPlayer$8.run(SWTUIPlayer.java:2511)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody0(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure1.run(RunnableLock.java:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39(DisplayAspect.aj:317)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody2(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure3.run(RunnableLock.java:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39(DisplayAspect.aj:60)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.gmf.runtime.diagram.ui.menus.PopupMenu.show(PopupMenu.java:136)
at org.eclipse.gmf.runtime.diagram.ui.commands.PopupMenuCommand.doExecuteWithResult(PopupMenuCommand.java:88)
at org.eclipse.gmf.runtime.diagram.ui.commands.CreateOrSelectElementCommand.doExecuteWithResult(CreateOrSelectElementCommand.java:226)
at org.eclipse.gmf.runtime.diagram.ui.editpolicies.GraphicalNodeEditPolicy$PromptAndCreateConnectionCommand.doExecuteWithResult(GraphicalNodeEditPolicy.java:148)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:206)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425)
at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438)
at org.eclipse.gmf.runtime.diagram.ui.tools.ConnectionCreationTool.handleCreateConnection(ConnectionCreationTool.java:341)
at org.eclipse.gef.tools.ConnectionCreationTool.handleButtonDown(ConnectionCreationTool.java:77)
at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:1092)
at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool.java:512)
at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:245)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:348)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:185)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody2(Widget.java:1053)
at org.eclipse.swt.widgets.Widget$AjcClosure3.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892(RecordingAspect.aj:134)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody4(Widget.java:1077)
at org.eclipse.swt.widgets.Widget$AjcClosure5.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:67)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEventRaw(SWTEvents.java:72)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEvent(SWTEvents.java:180)
at com.xored.tesla.gef.GefProcessor$3.run(GefProcessor.java:789)
at com.xored.tesla.internal.ui.player.SWTUIPlayer$8.run(SWTUIPlayer.java:2511)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody0(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure1.run(RunnableLock.java:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39(DisplayAspect.aj:317)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody2(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure3.run(RunnableLock.java:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39(DisplayAspect.aj:60)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.gmf.runtime.diagram.ui.menus.PopupMenu.show(PopupMenu.java:136)
at org.eclipse.gmf.runtime.diagram.ui.commands.PopupMenuCommand.doExecuteWithResult(PopupMenuCommand.java:88)
at org.eclipse.gmf.runtime.diagram.ui.commands.CreateOrSelectElementCommand.doExecuteWithResult(CreateOrSelectElementCommand.java:226)
at org.eclipse.gmf.runtime.diagram.ui.editpolicies.GraphicalNodeEditPolicy$PromptAndCreateConnectionCommand.doExecuteWithResult(GraphicalNodeEditPolicy.java:148)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
at org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:206)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425)
at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438)
at org.eclipse.gmf.runtime.diagram.ui.tools.ConnectionCreationTool.handleCreateConnection(ConnectionCreationTool.java:341)
at org.eclipse.gmf.runtime.diagram.ui.tools.ConnectionCreationTool.handleButtonUp(ConnectionCreationTool.java:181)
at org.eclipse.gmf.runtime.diagram.ui.internal.tools.ConnectionHandleTool.handleButtonUp(ConnectionHandleTool.java:132)
at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1201)
at org.eclipse.gef.tools.SelectionTool.mouseUp(SelectionTool.java:572)
at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:213)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody2(Widget.java:1053)
at org.eclipse.swt.widgets.Widget$AjcClosure3.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$4$2f127892(RecordingAspect.aj:134)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
at org.eclipse.swt.widgets.Widget.sendEvent_aroundBody4(Widget.java:1077)
at org.eclipse.swt.widgets.Widget$AjcClosure5.run(Widget.java:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7proceed(RecordingAspect.aj:1)
at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:67)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEventRaw(SWTEvents.java:72)
at com.xored.tesla.internal.ui.player.SWTEvents.sendEvent(SWTEvents.java:180)
at com.xored.tesla.gef.GefProcessor$3.run(GefProcessor.java:808)
at com.xored.tesla.internal.ui.player.SWTUIPlayer$8.run(SWTUIPlayer.java:2511)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody0(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure1.run(RunnableLock.java:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.tesla.swt.aspects.DisplayAspect.ajc$around$com_xored_tesla_swt_aspects_DisplayAspect$10$90b1ba39(DisplayAspect.aj:317)
at org.eclipse.swt.widgets.RunnableLock.run_aroundBody2(RunnableLock.java:35)
at org.eclipse.swt.widgets.RunnableLock$AjcClosure3.run(RunnableLock.java:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39proceed(DisplayAspect.aj:1)
at com.xored.sherlock.aspects.swt.DisplayAspect.ajc$around$com_xored_sherlock_aspects_swt_DisplayAspect$2$90b1ba39(DisplayAspect.aj:60)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    26/Nov/12 8:42 PM
    Updated:
    31/Jan/13 1:47 PM

Time Tracking

Estimated:
4h
Original Estimate - 4 hours
Remaining:
4h
Remaining Estimate - 4 hours
Logged:
Not Specified
Time Spent - Not Specified