Bug 3258 - exception doing import assist (1GDIJ9D)
Summary: exception doing import assist (1GDIJ9D)
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:52 EDT by Philipe Mulet CLA
Modified: 2002-01-11 09:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:52:08 EDT
TM (5/10/2001 15:48:51)
	SDK 104a.	

	This occurred while doing <ctrl>-o in the file BuildGroup.java (org.eclipse.jdt.internal.ui.packageview).
	

Log: Thu May 10 15:47:33 GMT+02:00 2001
4 org.eclipse.ui 0 java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
	at org.eclipse.jdt.internal.core.index.impl.WordEntry.mapRefs(WordEntry.java:136)
	at org.eclipse.jdt.internal.core.index.impl.MergeFactory.mergeReferences(MergeFactory.java:175)
	at org.eclipse.jdt.internal.core.index.impl.MergeFactory.merge(MergeFactory.java:79)
	at org.eclipse.jdt.internal.core.index.impl.Index.merge(Index.java:230)
	at org.eclipse.jdt.internal.core.index.impl.Index.save(Index.java:334)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:101)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:75)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:141)
	at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:377)
	at org.eclipse.jdt.internal.ui.codemanipulation.StubUtility.findAllTypes(StubUtility.java:132)
	at org.eclipse.jdt.internal.ui.javaeditor.AddImportOnSelectionAction.run(AddImportOnSelectionAction.java:118)
	at org.eclipse.ui.texteditor.RetargetTextEditorAction.run(RetargetTextEditorAction.java:59)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:366)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:320)
	at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:311)
	at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:45)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:51)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:615)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1073)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:956)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:566)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:554)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:825)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:280)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:66)
	at org.eclipse.core.launcher.Main.run(Main.java:314)
	at org.eclipse.core.launcher.UIMain.main(UIMain.java:43)

TM (5/10/2001 15:50:43)
	Checked with other files. Same thing. Seems to be a weird state I'm in.

PM (5/10/2001 7:38:33 PM)
	This is the background indexer working in parallel, attempting to perform a merge, likely prior to search anything.
	For some unknown reason, the merge fails. The nice issue is that it merges every 500 indexed files, which makes this
	problem nice to reproduce.
Comment 1 Philipe Mulet CLA 2001-10-12 09:44:14 EDT
Never reproduced. Closing