Community
Participate
Working Groups
What steps will reproduce the problem? 1. Starts weblogic server in debug mode. -- Error Details -- Date: Tue Apr 05 15:43:45 SGT 2011 Message: Unhandled event loop exception Severity: Error Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.java.product) Plugin: org.eclipse.ui Exception Stack Trace: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.wst.server.core.internal.ServerPlugin.loadSaveEditorExtension(ServerPlugin.java:1328) at org.eclipse.wst.server.core.internal.ServerPlugin.getSaveEditorHelper(ServerPlugin.java:1314) at org.eclipse.wst.server.core.internal.Server.start(Server.java:1916) at org.eclipse.wst.server.ui.internal.view.servers.StartAction.start(StartAction.java:167) at org.eclipse.wst.server.ui.internal.view.servers.StartAction.perform(StartAction.java:152) at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.run(AbstractServerAction.java:60) 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: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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
I am using Eclipse Helios SR2 build ID 20110301-1815. Somehow after a change in the location of a library JAR file from one of my WEB projects/lib folder to a core EAR libraries, the server deployer has since then ceased to work. Subsequently, whenever I tried to startup the weblogic server in debug mode, It won't run and always shows Unhandled event loop exception in the error log.
Created attachment 204642 [details] v1.0 The only case that the method will cause ArrayIndexOutOfBoundException is when the extension point load size is 0. Adding check to prevent the problem to occur.
Created attachment 204643 [details] v1.1 Fixing the trace information on this new patch to make sure the end loading extension point trace will be produced.
Created attachment 204644 [details] v3.3 The code on 33M and HEAD are different. v3.3 patch is for 33M and HEAD stream.
Changes released to 32M, 33M and HEAD
New Gerrit change created: https://git.eclipse.org/r/109073