Community
Participate
Working Groups
Build ID: I20080609-1311 Steps To Reproduce: 1. Select a location in the package explorer, and right click new -> other... 2. Select Other -> Ant Files, And press next. 3. The wizard dosent open and if you try and create a diffrent object from the same wizard a strange wizard page requesting a "web service runtime" and "web service type". note: if you double click the Ant Files entry you get an error: java.lang.ArrayIndexOutOfBoundsException. More information: Tested using eclipse ganymede RC4 for java developers: eclipse-java-ganymede-RC4-win32.zip with a clean workspace and no other plug-in then what comes with the package. I didnt encounter this bug in eclipse 3.3.2
I got the same AIOOB problem that has been reported. This looks like a problem with WST. java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.wst.command.internal.env.ui.dialog.AntFileImportWizardPage.setRuntimeLabels(AntFileImportWizardPage.java:177) at org.eclipse.wst.command.internal.env.ui.dialog.AntFileImportWizardPage.iniatialize(AntFileImportWizardPage.java:153) at org.eclipse.wst.command.internal.env.ui.dialog.AntFileImportWizardPage.createSourceGroup(AntFileImportWizardPage.java:119) at org.eclipse.ui.dialogs.WizardResourceImportPage.createControl(WizardResourceImportPage.java:160)
Moving to WST
Confirmed to happen on Ganymede final. Also changed version to 3.0 as this is a bug with ganymede wst.
Hi, Could you please clarify what do you mean by: The wizard dosent open and if you try and create a diffrent object from the same wizard a strange wizard page requesting a "web service runtime" and "web service type" and if you double click the Ant Files entry you get an error: java.lang.ArrayIndexOutOfBoundsException. Are you choosing the Web services -> Ant files new wizard? I just tried to let the Web Services Ant File wizard import the Ant files for me using the Ganymede GA version (eclipse-jee-ganymede-win32.zip) and the wizard completes successfully. You indicated you were using eclipse-java-ganymede-RC4-win32.zip. Do you actually mean the Eclipse Java package or the Eclipse JEE package? Andrew, please follow up this issue with the originator. Thanks!
Ok let me clarify the wizard i tried using is found under: Other -> ant files, and not under: Web services -> Ant files. I was using the java package not jee. and i also tested it under the final release of eclipse ganymede.
Created attachment 107220 [details] Screenshots of "Ant error" Confirming this is also an issue with Ganymede Final under Linux. I have the same symptom of "double-click on Other --> Ant Files results in AIOOBE popup". Furthermore, if I then try another object type from that same wizard window (say, "Java --> Annotation", I get what the original poster described. Screenshot attached.
Sorry, forgot to add: I too am using the Java rollup, not JEE. (In reply to comment #6) > Confirming this is also an issue with Ganymede Final under Linux.
I've reproduced this problem in WTP that has only the wst bits and not the jst bits. Probably the extension is not handling the "no extenders" case correctly.
Created attachment 107643 [details] patch to handle no extenders This patch will fix the AIOOB exception. But please note, the ant wizard does not have any use without the extenders in the JST portion of WTP which are not installed with this configuration. A question for Kathy, should the Ant files wizard be exposed at the WST level?
With the patch, the Ant file wizard would just show an empty list because the current extensions are all in JST. Despite this fact, I think the wizard should still remain in WST in case there are plugins in WST that wants to extend this in the future. Patch committed and released to WTP 3.0.1 as v200807162242.
*** Bug 241361 has been marked as a duplicate of this bug. ***
This defect has been in resolve state for a while. Please verify this with the appropriate WTP driver which can be found in: http://download.eclipse.org/webtools/downloads/ We would verify and close the defect on the originator's behalf if it has not been verified 2 weeks after it's been changed to Verified state.
Verified.