Bug 14171 - Array out of bounds exception (References/Working Set Dialog)
Summary: Array out of bounds exception (References/Working Set Dialog)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 17:13 EDT by omuzaff CLA
Modified: 2002-04-19 11:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description omuzaff CLA 2002-04-18 17:13:08 EDT
1. Create Java Project
2. Create Java Class file
3. Right click -> References -> Working Set
4. New -> Enter working set name
5. Select the java project -> OK
6. Click Remove -> OK

Stack Trace follows:
--------------------
java.lang.ArrayIndexOutOfBoundsException: 0
       at 
org.eclipse.jdt.internal.ui.search.FindReferencesInWorkingSetAction.queryWorking
Set(FindReferencesInWorkingSetAction.java:65)
       at 
org.eclipse.jdt.internal.ui.search.FindReferencesInWorkingSetAction.makeOperatio
n(FindReferencesInWorkingSetAction.java:44)
       at org.eclipse.jdt.internal.ui.search.ElementSearchAction.run
(ElementSearchAction.java:57)
       at org.eclipse.jdt.internal.ui.search.JavaElementAction.run
(JavaElementAction.java:86)
       at org.eclipse.jface.action.Action.runWithEvent(Action.java:590)
       at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
       at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
       at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
       at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled 
Code))
       at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
(Compiled Code))
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1208)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:836)
       at org.eclipse.ui.internal.Workbench.run(Workbench.java:819)
       at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:777)
       at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
       at java.lang.reflect.Method.invoke(Native Method)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:190)
       at org.eclipse.core.launcher.Main.run(Main.java:549)
       at org.eclipse.core.launcher.Main.main(Main.java:390)
Comment 1 Nick Edgar CLA 2002-04-18 22:03:36 EDT
Please indicate which build you're running.
Comment 2 omuzaff CLA 2002-04-19 09:24:27 EDT
Build Version: 20020412
Comment 3 Dani Megert CLA 2002-04-19 10:35:33 EDT
Changed the target milestone to M6

FYI: This property should not be set by the problem reporter. It indicates when
the feature or fix will be available and is used for planning. Since M5 is
already out I have no chance to provide a fix for M5 ;-)
Comment 4 Dani Megert CLA 2002-04-19 11:57:56 EDT
Search now supports more than one working set. I have verified that this PR is
fixed in the new code.

Available in builds > 20020418