Bug 237022

Summary: StackOverflowError when opening class in jar
Product: [Eclipse Project] JDT Reporter: Arvid Svensson <arvid.svensson>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.3   
Target Milestone: 3.3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Stack traces none

Description Arvid Svensson CLA 2008-06-13 04:22:32 EDT
Build ID: M20070921-1145

Steps To Reproduce:
1. Open class packed in jar

I'm sorry to say that this only happens on two (2) of thousands classes in our system and that I can't disclose any part of the code causing this StackOverflowError. Furthermore I'm failing to isolate the problem of these two specific classes. However if I mount these two files as java files under a source node the problem is gone. Hope the stack traces and the analysis referred to in "More information" give enough hints. Please let me know if I can help out from within our "non-disclose" system.

More information:
The same problem was observed in this forum thread:
http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg20557.html 

The problem is reproducable on several installations of M20070921-1145. There are two classes, both packed in jar with attached source code, referenced from a project. When I'm opening these two classes in the editor I get the error "Multiple Errors have Occured".
Comment 1 Arvid Svensson CLA 2008-06-13 04:23:35 EDT
Created attachment 104829 [details]
Stack traces

These are the stack traces from the error log
Comment 2 Jerome Lanneluc CLA 2008-06-13 06:38:18 EDT
The stack overflow occurs in org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInHierarchy

Moving to JDT/UI to investigate
Comment 3 Olivier Thomann CLA 2008-06-13 09:03:40 EDT
Closing as a dup of bug 186410.
If you could try with 3.3.2 and confirm this is fixed, it would be great.

*** This bug has been marked as a duplicate of bug 186410 ***