Q7

NPE when recording cell-editing, unable to replay

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.11
  • Fix Version/s: 1.2.x
  • Component/s: Launching (Runtime)
  • Labels:
  • Environment:
    Vozone 5.0.1
  • Test Mode:
    Q7
  • Q7 test:
    ExecutionProperties_6_ChangeListOfList

Description

Steps to reproduce

  1. Use workspace attached, start recording
  2. Open Test Resources/P1
  3. Open value tab for lol
  4. Click on any value

Result
Value changing is recorded, but script

with [get-window "List Values"] {
    get-table | select q | get-editbox | set-text 1
    get-button OK | click
}

fails with The Text "[]" could not be found

Activity

Hide
lena.platova added a comment - 04/Dec/12 2:09 PM - edited
java.lang.NullPointerException
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.isDefaultCount(SWTEventRecorder.java:2092)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordMouseEvent(SWTEventRecorder.java:2078)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordCellAccess(SWTEventRecorder.java:2009)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.processMouseUp(SWTEventRecorder.java:1902)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:718)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:501)
	at com.xored.tesla.recording.aspects.SWTEventManager.recordEvent(SWTEventManager.java:98)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:59)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Widget.postEvent(Widget.java:782)
	at org.eclipse.swt.widgets.Widget.sendMouseEvent(Widget.java:1127)
	at org.eclipse.swt.widgets.Widget.sendMouseEvent(Widget.java:1110)
	at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2056)
	at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
	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.Table.windowProc_aroundBody2(Table.java:5893)
	at org.eclipse.swt.widgets.Table$AjcClosure3.run(Table.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.Table.windowProc(Table.java:5727)
	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.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.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.vozone.sdt.internal.ui.editors.ExecutionPropertiesEditor$ValueEditingSupport$3.apply(ExecutionPropertiesEditor.java:855)
	at org.vozone.sdt.ui.commons.dialogs.CustomizedDialogCellEditor.openDialogBox(CustomizedDialogCellEditor.java:39)
	at org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected(DialogCellEditor.java:244)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	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.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	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.vozone.sdt.product.VozoneApplication.start(VozoneApplication.java:79)
	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)
Show
lena.platova added a comment - 04/Dec/12 2:09 PM - edited
java.lang.NullPointerException
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.isDefaultCount(SWTEventRecorder.java:2092)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordMouseEvent(SWTEventRecorder.java:2078)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordCellAccess(SWTEventRecorder.java:2009)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.processMouseUp(SWTEventRecorder.java:1902)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:718)
	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:501)
	at com.xored.tesla.recording.aspects.SWTEventManager.recordEvent(SWTEventManager.java:98)
	at com.xored.tesla.recording.aspects.RecordingAspect.ajc$around$com_xored_tesla_recording_aspects_RecordingAspect$1$bd9fb3e7(RecordingAspect.aj:59)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
	at org.eclipse.swt.widgets.Widget.postEvent(Widget.java:782)
	at org.eclipse.swt.widgets.Widget.sendMouseEvent(Widget.java:1127)
	at org.eclipse.swt.widgets.Widget.sendMouseEvent(Widget.java:1110)
	at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2056)
	at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
	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.Table.windowProc_aroundBody2(Table.java:5893)
	at org.eclipse.swt.widgets.Table$AjcClosure3.run(Table.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.Table.windowProc(Table.java:5727)
	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.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.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.vozone.sdt.internal.ui.editors.ExecutionPropertiesEditor$ValueEditingSupport$3.apply(ExecutionPropertiesEditor.java:855)
	at org.vozone.sdt.ui.commons.dialogs.CustomizedDialogCellEditor.openDialogBox(CustomizedDialogCellEditor.java:39)
	at org.eclipse.jface.viewers.DialogCellEditor$2.widgetSelected(DialogCellEditor.java:244)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	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.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	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.vozone.sdt.product.VozoneApplication.start(VozoneApplication.java:79)
	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)
Hide
Andrey Sobolev added a comment - 05/Dec/12 2:25 PM

Fixed.

Show
Andrey Sobolev added a comment - 05/Dec/12 2:25 PM Fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    04/Dec/12 2:08 PM
    Updated:
    06/Dec/12 4:57 PM
    Resolved:
    05/Dec/12 2:25 PM