Bug 237022 - StackOverflowError when opening class in jar
Summary: StackOverflowError when opening class in jar
Status: RESOLVED DUPLICATE of bug 186410
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3.2   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 04:22 EDT by Arvid Svensson CLA
Modified: 2008-06-13 09:03 EDT (History)
1 user (show)

See Also:


Attachments
Stack traces (300.27 KB, text/plain)
2008-06-13 04:23 EDT, Arvid Svensson CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***