Bug 119403

Summary: StackOverflowError (due to loop between UnresolvedReferenceBinding, LookupEnvironment.askForType, Engine.accept, LookupEnvironment.createBinaryTypeFrom, BinaryTypeBinding ?)
Product: [Eclipse Project] JDT Reporter: Michael Vorburger <michael.vorburger>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Eclipse .log when StackOverflow happens. GUI says "Bla bla.. Do you want to exit the Workbench?" none

Description Michael Vorburger CLA 2005-12-06 08:42:18 EST
I get the attached StackOverflowError on Eclipse 3.1.1 M20050929-0840.

This happens when Ctrl-Space'ing a local member variable of a normal class type (IlrRuleset) defined in a (commercial) JAR that is referenced in the project.  (BTW: A line of code using this, manually typed in, without Content Assist, executes fine, so I have no reason to believe in any corruption in the JAR or something like that.  Content Assist on many other classes in the same Eclipse project works fine, too.)

This LOOKS a bit like Bug 94269 (which duplicates to Bug 94244) but is probably not the same, because: a) The stacktrace is not actually the same (compare the entire trace, not just the last few methods; this one does not contain GenericJavaTypeProposal),  b) I have done a quick test manual test with the code fragment shown in those bugs and that works fine.

Let me know if you need any further details; happy to help if I can.
Comment 1 Michael Vorburger CLA 2005-12-06 08:44:48 EST
Created attachment 31195 [details]
Eclipse .log when StackOverflow happens. GUI says "Bla bla.. Do you want to exit the Workbench?"
Comment 2 Philipe Mulet CLA 2005-12-06 08:56:00 EST
Would you have exact steps to reproduce it ?
Comment 3 Jerome Lanneluc CLA 2005-12-06 09:00:20 EST
Looks like a dup of bug 102286 to me.
Comment 4 Michael Vorburger CLA 2005-12-06 09:58:25 EST
> Looks like a dup of bug 102286 to me.

Sorry for not having seen that one!  I will download today's 3.2 Stream Integration Build (I20051206-0826, correct?) and let you know the results (might have to be tomorrow).
Comment 5 Michael Vorburger CLA 2005-12-07 06:39:33 EST
Confirming this as (another) duplicate of Bug 102286.  Identical project that causes StackOverflowError under 3.1.1 works fine under 3.2 integration build eclipse-SDK-I20051206-1200-win32.  Over.

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