Project: JDT
Bug 96910 [spell checking] ArrayIndexOutOfBoundsException AbstractSpellDictionary
Reported: 2005-05-27 02:27:54 | Status: resolved fixed

N20050526-0010 Found in .log No steps. !ENTRY org.eclipse.ui.workbench.texteditor 4 2 2005-05-26 22:58:17.452 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench.texteditor". !STACK 0 java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.ensureCapacity(ArrayList.java:171) at java.util.ArrayList.add(ArrayList.java:352) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.hashWord(AbstractSpellDictionary.java:327) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.load(HtmlTagDictionary.java:55) at org.eclipse.jdt.internal.ui.text.spelling.engine.AbstractSpellDictionary.isCorrect(AbstractSpellDictionary.java:338) at org.eclipse.jdt.internal.ui.text.spelling.HtmlTagDictionary.isCorrect(HtmlTagDictionary.java:40) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.isCorrect(DefaultSpellChecker.java:329) at org.eclipse.jdt.internal.ui.text.spelling.engine.DefaultSpellChecker.execute(DefaultSpellChecker.java:243) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingEngine.check(JavaSpellingEngine.java:56) at org.eclipse.jdt.internal.ui.text.spelling.SpellingEngine.check(SpellingEngine.java:77) at org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine.check(DefaultSpellingEngine.java:68) at org.eclipse.ui.texteditor.spelling.SpellingService$1.run(SpellingService.java:103) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1038) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:108) at org.eclipse.ui.texteditor.spelling.SpellingService.check(SpellingService.java:80) at org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingReconcileStrategy.reconcile(JavaSpellingReconcileStrategy.java:147) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:94) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75) at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:318) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/HtmlTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/JavaDocTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/TaskTagDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/AbstractSpellDictionary.java