Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 418059

Summary: AUT Agent throws exception when record in Table is clicked
Product: [Technology] Jubula Reporter: Michael L <mihalavr>
Component: CoreAssignee: Project Inbox <jubula.core-inbox>
Status: CLOSED WONTFIX QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: normal    
Priority: P2 CC: Achim.Loerke, alexandra.schladebeck
Version: unspecifiedKeywords: triaged
Target Milestone: Kepler SR2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Table Screenshot
none
AUT Agent exception none

Description Michael L CLA 2013-09-25 16:28:32 EDT
Created attachment 235823 [details]
Table Screenshot

Testing RCP application.
A Table is displayed with records, when I click on any free space inside this Table (in observation mode) Jubula recognizes the event and creates test action. But when I click on actual record in the Table I get exception in AUT Agent.

Please refer to attached screenshot.

The exception is:

AUT:ERROR main 2013-09-24 17:05:32,061 com.#####.cmclient.core.ApplicationWorkbenchAdvisor.eventLoopException(ApplicationWorkbenchAdvisor.java:97) - Event Loop Exception
AUT:java.lang.IndexOutOfBoundsException: Index: 10, Size: 10
AUT:    at java.util.LinkedList.entry(LinkedList.java:365)
AUT:    at java.util.LinkedList.get(LinkedList.java:315)
AUT:    at org.eclipse.jubula.rc.swt.listener.RecordActionsSWT.createCAP(RecordActionsSWT.java:715)
AUT:    at org.eclipse.jubula.rc.swt.listener.RecordActionsSWT.selectTableCell(RecordActionsSWT.java:344)
AUT:    at org.eclipse.jubula.rc.swt.listener.RecordListener.handleMouseEvent(RecordListener.java:287)
AUT:    at org.eclipse.jubula.rc.swt.listener.RecordListener$1.run(RecordListener.java:156)
AUT:    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
AUT:    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
AUT:    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584)
AUT:    at org.eclipse.jubula.rc.swt.listener.RecordListener.handleEvent(RecordListener.java:117)
AUT:    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
AUT:    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
AUT:    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
AUT:    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
AUT:    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
AUT:    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
AUT:    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
AUT:    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
AUT:    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
AUT:    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
AUT:    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
AUT:    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
AUT:    at com.#####.cmclient.core.Application.start(Application.java:140)
AUT:    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
AUT:    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
AUT:    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
AUT:    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
AUT:    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
AUT:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
AUT:    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
AUT:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
AUT:    at java.lang.reflect.Method.invoke(Method.java:597)
AUT:    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
AUT:    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
AUT:    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Comment 1 Michael L CLA 2013-09-25 16:29:56 EDT
Created attachment 235824 [details]
AUT Agent exception
Comment 2 Alexandra Schladebeck CLA 2013-09-26 04:45:39 EDT
I think that this is the same issue that is mentioned in this bug:
https://bxapps.bredex.de/bugzilla/show_bug.cgi?id=100
Comment 3 Achim Loerke CLA 2013-09-30 07:57:43 EDT
We should investigate and either fix or remove the offending action.
Comment 4 Alexandra Schladebeck CLA 2014-01-23 10:28:01 EST
The time span shows that we haven't gotten to this yet, and it's not looking good for the near future. I'm going to close the bug as wontfix.

If anyone has new information or arguments, or a patch, please reopen.
Comment 5 Oliver Goetz CLA 2014-01-23 10:38:40 EST
Closed due to comment 4.