Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Could my Windows XP environment be causing this?
Could my Windows XP environment be causing this? [message #517302] Fri, 26 February 2010 21:36 Go to next message
Shawn Spiars is currently offline Shawn SpiarsFriend
Messages: 22
Registered: July 2009
Junior Member
I get this ArrayIndexOutOfBoundsException (shown below) with any Eclipse
3.5.x version, with any workspace, and with any plugin.xml file.

Steps to Reproduce:
1. Open your plugin.xml file in the PDE manifest editor
2. Select the dependencies tab
3. Select the "Add..." button next to Required Plug-ins
4. The PluginSelectionDialog opens, but it shows no plug-ins
5. See java.lang.ArrayIndexOutOfBoundsException below

This must be something wrong with my Windows XP environment
possibly related to SWT as this PDE dialog works fine for everyone
else. I have reproduced it here with a freshly downloaded
Eclipse Classic 3.5.2 and JRE 1.6.0_18. Any ideas for figuring
this out would be appreciated - thanks!


eclipse.buildId=M20100211-1343
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 4 0 2010-02-26 14:58:22.406
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 4
at org.eclipse.swt.widgets.Table._getItem(Table.java:160)
at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6317)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 57)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632 )
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:231 4)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:334)
at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:200)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Table.windowProc(Table.java:5521)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 11)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3501)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.pde.internal.ui.editor.plugin.RequiresSection.ha ndleAdd(RequiresSection.java:385)
at
org.eclipse.pde.internal.ui.editor.plugin.RequiresSection.bu ttonSelected(RequiresSection.java:175)
at
org.eclipse.pde.internal.ui.editor.TableSection$PartAdapter. buttonSelected(TableSection.java:50)
at
org.eclipse.pde.internal.ui.parts.SharedPartWithButtons$Sele ctionHandler.buttonSelected(SharedPartWithButtons.java:39)
at
org.eclipse.pde.internal.ui.parts.SharedPartWithButtons$Sele ctionHandler.widgetSelected(SharedPartWithButtons.java:30)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
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.ja va:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
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(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
Re: Could my Windows XP environment be causing this? [message #517638 is a reply to message #517302] Mon, 01 March 2010 15:12 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

Can you see if it helps to turn off as many running apps as you can before
starting eclipse (eg.- the ones in your system tray)? And if so, do you
have any Windows add-ons installed that get involved with customizing
windows/controls in any way? Does changing your Windows theme to Classic
help (just as an attempt to isolate the problem)?

Grant


"Shawn Spiars" <sspiars@gmail.com> wrote in message
news:hm9et6$e2j$1@build.eclipse.org...
> I get this ArrayIndexOutOfBoundsException (shown below) with any Eclipse
> 3.5.x version, with any workspace, and with any plugin.xml file.
>
> Steps to Reproduce:
> 1. Open your plugin.xml file in the PDE manifest editor
> 2. Select the dependencies tab
> 3. Select the "Add..." button next to Required Plug-ins
> 4. The PluginSelectionDialog opens, but it shows no plug-ins
> 5. See java.lang.ArrayIndexOutOfBoundsException below
>
> This must be something wrong with my Windows XP environment
> possibly related to SWT as this PDE dialog works fine for everyone
> else. I have reproduced it here with a freshly downloaded
> Eclipse Classic 3.5.2 and JRE 1.6.0_18. Any ideas for figuring
> this out would be appreciated - thanks!
>
>
> eclipse.buildId=M20100211-1343
> java.version=1.6.0_18
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.ui 4 0 2010-02-26 14:58:22.406
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.ArrayIndexOutOfBoundsException: 4
> at org.eclipse.swt.widgets.Table._getItem(Table.java:160)
> at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6317)
> at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
> at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:17 57)
> at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632 )
> at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:231 4)
> at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:334)
> at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:200)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
> at org.eclipse.swt.widgets.Table.windowProc(Table.java:5521)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632 )
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 11)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3501)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
>
org.eclipse.pde.internal.ui.editor.plugin.RequiresSection.ha ndleAdd(Requires
Section.java:385)
> at
>
org.eclipse.pde.internal.ui.editor.plugin.RequiresSection.bu ttonSelected(Req
uiresSection.java:175)
> at
>
org.eclipse.pde.internal.ui.editor.TableSection$PartAdapter. buttonSelected(T
ableSection.java:50)
> at
>
org.eclipse.pde.internal.ui.parts.SharedPartWithButtons$Sele ctionHandler.but
tonSelected(SharedPartWithButtons.java:39)
> at
>
org.eclipse.pde.internal.ui.parts.SharedPartWithButtons$Sele ctionHandler.wid
getSelected(SharedPartWithButtons.java:30)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:228)
> 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.ja va:3910)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3503)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> 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(Work bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.
java:113)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:
194)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
EclipseAppLauncher.java:110)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:79)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
Previous Topic:Determining if scrollbars are visible
Next Topic:Determining if style hint is supported on current platform
Goto Forum:
  


Current Time: Fri Dec 06 04:51:48 GMT 2024

Powered by FUDForum. Page generated in 0.03630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top