Summary: | ArrayIndexOutOfBoundsException when opening type hierarchy | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Darin Wright <darin.eclipse> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | dirk_baeumer, eclipse, john.arthorne | ||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Darin Wright
2005-05-05 14:09:26 EDT
I cannot reproduce this problem. Do you have more details on the projects that are in your workspace (source vs binary, version number if checked out from CVS, etc...) ? I can't reproduce this in N20050506. Oops, I can reproduce. The hierarchy was on org.eclipse.core.expressions.Expression - *NOT* Expression*s* as originally indicated. I have the following plugins in source, checked out from HEAD. org.eclipse.jdt.doc.isv org.eclipse.platform-feature org.eclipse.releng org.eclipse.test.performance.win32 platform-ant-home platform-debug-home org.apache.ant org.eclipse.ant.core org.eclipse.ant.tests.core org.eclipse.ant.tests.ui org.eclipse.ant.ui org.eclipse.core.variables org.eclipse.debug.core org.eclipse.debug.ui org.eclipse.jdt.debug org.eclipse.jdt.debug.tests org.eclipse.jdt.debug.ui org.eclipse.jdt.launching org.eclipse.jdt.ui.examples.javafamily org.eclipse.platform.doc.isv org.eclipse.test.performance org.eclipse.ui.console org.eclipse.ui.externaltools I made the same exception occurr twice, but it does not happen everytime. Not sure what the requirements are. However, while attempting to cause it to happen I ended up with what seems like a deadlock. I restarted my workbench with the hierachy for Expression open, which showed a background job restoring the type hierachy for Expression. I pressed "cancel" (in the progress view) and tried to open another type hierarchy on a different class. The UI seemed to block forever with a busy cursor. Had to kill Eclispe. I will attach the thread dump. Created attachment 20783 [details]
thread dump
*** Bug 93995 has been marked as a duplicate of this bug. *** Thanks Darin. Fixed IndexBasedHierarchyBuilder#searchAllPossibleSubTypes(...) to use the characters between the last $ and the ".class" as the type name for a local or anonymous type (and not an empty name as it used to be). Added regression test TypeHierarchyTests#testAnonymousType7(). Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD. |