Community
Participate
Working Groups
When i try to find reference, i receive this error il log of eclipse : !ENTRY org.eclipse.jdt.ui 4 1 Sep 04, 2002 16:05:02.117 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.jdt.internal.compiler.util.ObjectVector.copyInto (ObjectVector.java:84) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenableSet.getMatchingOpe nables(MatchingOpenableSet.java:47) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:1285) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:586) at org.eclipse.jdt.core.search.SearchEngine.search (SearchEngine.java:412) at org.eclipse.jdt.core.search.SearchEngine.search (SearchEngine.java:358) at org.eclipse.jdt.internal.ui.search.JavaSearchOperation.execute (JavaSearchOperation.java:84) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run (WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1378) at org.eclipse.ui.actions.WorkspaceModifyOperation.run (WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:98) !SESSION Sep 05, 2002 08:26:45.13 ---------------------------------------------- java.version=1.3.1_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/dev/eclipse/ !ENTRY org.eclipse.jdt.ui 4 1 Sep 05, 2002 08:26:45.13 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.jdt.internal.compiler.util.ObjectVector.copyInto (ObjectVector.java:84) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenableSet.getMatchingOpe nables(MatchingOpenableSet.java:47) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:1285) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches (MatchLocator.java:586) at org.eclipse.jdt.core.search.SearchEngine.search (SearchEngine.java:412) at org.eclipse.jdt.core.search.SearchEngine.search (SearchEngine.java:358) at org.eclipse.jdt.internal.ui.search.JavaSearchOperation.execute (JavaSearchOperation.java:84) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run (WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1378) at org.eclipse.ui.actions.WorkspaceModifyOperation.run (WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:98) How i can resolve this problem without erasing workspace and classpath ?
Marc, do you have a small test case that shows the problem?
No, sorry I have the problem with my very large application ... :-( Someone here have the same problem, he delete workspace and .classpath after reconstruct, all functionning well ... ??? What files i can delete without deleting all the workspace ?
I found the problem .. i have put a bad directory in my classpath ... Now all it's ok ! Thanks!
I would be interested in knowing what was bad in your directory. We should not throw an ArrayIndexOutOfBoundsException in this case.
I put the source directory like a lib folder because i want my applition get the .xml in java directory ... not the bin directory .. It's that the problem : eclipse says when i put source directory in classpath cannot near projet/java in projet/java ...
Jerome, we have a self-hosting workspace that has the same problem. i can send it to you if you want.
no, it's ok for me !
Self-hosted workspace didn't help in knowing what was wrong. Closing.