Dave,
Check that all your plugins are built correctly in your workspace. The only time this is likely to happen is if no resource manager extensions are found. You might want to clean your workspace also.
Greg On Apr 30, 2010, at 5:49 PM, Dave Wootton wrote:
I'm trying to test flow control and
I am having a problem with resource managers. My resource manager list
in my runtime Eclipse session is blank. When I attempt to add a resource
manager, the list of resource managers is blank and so I cannot select
anything from that list. I also get an ArrayIndexOutOfBoundsException with
value -1, pasted below.
It looks like there might be a problem
with the fServiceProviderList object that is references in RMServiceConfigurationWizard.handleProviderException()
since when I look at that in the debugger it appears that it might not
be initialized.
I got this error after extracting latest
code from Randy's branch today. I also saw the blank resource manager list
yesterday with the latest code from HEAD.
org.eclipse.swt.SWTException: Failed
to execute runnable (java.lang.ArrayIndexOutOfBoundsException: -1)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ptp.ui.actions.AddResourceManagerAction.run(AddResourceManagerAction.java:46)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
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:368)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.lang.ArrayIndexOutOfBoundsException:
-1
at org.eclipse.ptp.ui.wizards.RMServicesConfigurationWizard$SelectServiceProviderPage.handleProviderSelection(RMServicesConfigurationWizard.java:317)
at org.eclipse.ptp.ui.wizards.RMServicesConfigurationWizard$SelectServiceProviderPage.access$1(RMServicesConfigurationWizard.java:316)
at org.eclipse.ptp.ui.wizards.RMServicesConfigurationWizard$SelectServiceProviderPage$1.run(RMServicesConfigurationWizard.java:281)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 34 more
Dave_______________________________________________ ptp-dev mailing list ptp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ptp-dev
|