Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351133 - 'Unhandled event loop exception' is occured when I press buttons of 'Arguments' field
Summary: 'Unhandled event loop exception' is occured when I press buttons of 'Argument...
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 01:17 EDT by Maria Kolchinskaja CLA
Modified: 2011-07-11 06:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Kolchinskaja CLA 2011-07-05 01:17:06 EDT
Build Identifier: 

1. Create Tigerstripe project with Entity artifact
2. Add method for entity artifact
3. Add argument for the method and save changes
4. See that all buttons for argument are enabled, but no arguments are selected
5. Press any arguments button
See error in errors log:
Unhandled event loop exception
java.lang.ArrayIndexOutOfBoundsException: 0
	at org.eclipse.tigerstripe.workbench.ui.internal.utils.MethodInfoEditComponent.downArgButtonPressed(MethodInfoEditComponent.java:1315)
	at org.eclipse.tigerstripe.workbench.ui.internal.utils.MethodInfoEditComponent.handleWidgetSelected(MethodInfoEditComponent.java:1092)
	at org.eclipse.tigerstripe.workbench.ui.internal.utils.MethodInfoEditComponent.access$4(MethodInfoEditComponent.java:1038)
	at org.eclipse.tigerstripe.workbench.ui.internal.utils.MethodInfoEditComponent$MethodInfoListener.widgetSelected(MethodInfoEditComponent.java:1445)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)


Reproducible: Always
Comment 1 Anton Salnik CLA 2011-07-06 08:53:14 EDT
Activation of arguments' editing buttons fixed.
Comment 2 Maria Kolchinskaja CLA 2011-07-11 06:37:34 EDT
Verified