Q7

Toolbar button clicks in rcp.browser are not being recorded

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.6
  • Fix Version/s: 1.2.8
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

Exception:

java.lang.NullPointerException
	at com.xored.tesla.swt.e3x.ClassicEclipseWorkbenchProvider.isViewOrEditorButton(ClassicEclipseWorkbenchProvider.java:247)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.processSelection(SWTEventRecorder.java:979)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:638)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:448)
	at com.xored.tesla.recording.aspects.SWTEventManager.recordEvent(SWTEventManager.java:88)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:57)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Widget.sendSelectionEvent_aroundBody6(Widget.java:1094)
	at org.eclipse.swt.widgets.Widget$AjcClosure7.run(Widget.java:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$10$4cdd93e9proceed(RecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$10$4cdd93e9(RecordingAspect.aj:249)
	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1089)
	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.ToolItem.wmCommandChild(ToolItem.java:1017)
	at org.eclipse.swt.widgets.ToolBar.wmCommandChild(ToolBar.java:1499)
	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669)
	at org.eclipse.swt.widgets.CoolBar.WM_COMMAND(CoolBar.java:1018)
	at org.eclipse.swt.widgets.Control.windowProc_aroundBody0(Control.java:4531)
	at org.eclipse.swt.widgets.Control$AjcClosure1.run(Control.java:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3eproceed(EventFilterAspect.aj:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3e(EventFilterAspect.aj:17)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4523)
	at org.eclipse.swt.widgets.Display.windowProc_aroundBody20(Display.java:4972)
	at org.eclipse.swt.widgets.Display$AjcClosure21.run(Display.java:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3eproceed(EventFilterAspect.aj:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3e(EventFilterAspect.aj:17)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4924)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2424)
	at org.eclipse.swt.widgets.ToolBar.callWindowProc(ToolBar.java:154)
	at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2057)
	at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
	at org.eclipse.swt.widgets.ToolBar.WM_LBUTTONUP(ToolBar.java:1343)
	at org.eclipse.swt.widgets.Control.windowProc_aroundBody0(Control.java:4565)
	at org.eclipse.swt.widgets.Control$AjcClosure1.run(Control.java:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3eproceed(EventFilterAspect.aj:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3e(EventFilterAspect.aj:17)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4523)
	at org.eclipse.swt.widgets.Display.windowProc_aroundBody20(Display.java:4985)
	at org.eclipse.swt.widgets.Display$AjcClosure21.run(Display.java:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3eproceed(EventFilterAspect.aj:1)
	at com.xored.tesla.swt.aspects.EventFilterAspect.ajc$around$com_xored_tesla_swt_aspects_EventFilterAspect$1$602baf3e(EventFilterAspect.aj:17)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4924)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2530)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI_aroundBody0(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench$AjcClosure1.run(Workbench.java:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$a7b5a621proceed(WorkbenchRecordingAspect.aj:1)
	at com.xored.tesla.recording.aspects.WorkbenchRecordingAspect.ajc$around$com_xored_tesla_recording_aspects_WorkbenchRecordingAspect$2$a7b5a621(WorkbenchRecordingAspect.aj:39)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2495)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.examples.rcp.browser.BrowserApp.start(BrowserApp.java:47)
	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:344)
	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

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    15/Oct/12 5:26 PM
    Updated:
    15/Oct/12 6:08 PM
    Resolved:
    15/Oct/12 6:08 PM