Q7

Regression in cell access recording

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.2.11
  • Fix Version/s: 1.2.13
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

seeing this error in some tables:

  1. Execute tigerstripe test 359863_RemoveReferenceToAttribute
  2. Start recording
  3. Select <<ReferenceExample>>Entity0 in Tigerstripe Explorer
  4. Open Annotation Property view
  5. Click on line "stringRefToAttribute" column Value.
  6. See this:
    java.lang.ArrayIndexOutOfBoundsException: -1
    	at com.xored.q7.util.swt.TableTreeUtil.getItem(TableTreeUtil.java:210)
    	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordCellAccess(SWTEventRecorder.java:2017)
    	at com.xored.tesla.recording.core.swt.SWTEventRecorder.processMouseDown(SWTEventRecorder.java:2305)
    	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:731)
    	at com.xored.tesla.recording.core.swt.SWTEventRecorder.recordEvent(SWTEventRecorder.java:512)
    	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:1469)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
    	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
    	at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4875)
    	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
    	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
    	at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
    	at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052)
    	at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
    	at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
    	at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007)
    	at org.eclipse.swt.widgets.Display.windowProc_aroundBody18(Display.java:5471)
    	at org.eclipse.swt.widgets.Display$AjcClosure19.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:5414)
    	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
    	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
    	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
    	at org.eclipse.swt.widgets.Display.windowProc_aroundBody18(Display.java:5535)
    	at org.eclipse.swt.widgets.Display$AjcClosure19.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:5414)
    	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
    	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
    	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
    	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
    	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
    	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.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    	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(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	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

Hide
anastasia.ahramenko added a comment - 13/Feb/13 6:41 PM

Verified.

Show
anastasia.ahramenko added a comment - 13/Feb/13 6:41 PM Verified.

People

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

Dates

  • Created:
    17/Dec/12 11:38 PM
    Updated:
    13/Feb/13 6:41 PM
    Resolved:
    19/Dec/12 12:21 PM