Bug 73578

Summary: Stack overflow when trying to copy text Ctrl-C
Product: [Eclipse Project] JDT Reporter: Federico Andres Lois <flois>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED DUPLICATE QA Contact:
Severity: critical    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Federico Andres Lois CLA 2004-09-09 12:11:59 EDT
I could reproduce this error, when trying to work with the ArrayBlockingQueue
class from the JDK 1.5.

I try to copy that .java to my own compilation unit and it continues to fail so
I get that the problem is somehow in the Document Model. To reproduce it, just
open the source code of the ArrayBlockingQueue file of the JDK 1.5 and select
some code and try to copy it to the clipboard.

Hope this helps

Greetings
Federico


-------------- LOG MESSAGE ---------------------

!ENTRY org.eclipse.ui 4 0 sep 09, 2004 12:51:39.842
!MESSAGE java.lang.StackOverflowError
!STACK 0
java.lang.StackOverflowError
	at java.util.HashMap.get(Unknown Source)
	at
org.eclipse.jdt.core.dom.DefaultBindingResolver.getTypeBinding(DefaultBindingResolver.java:879)
	at org.eclipse.jdt.core.dom.TypeBinding.getElementType(TypeBinding.java:67)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:548)
	at org.eclipse.jdt.core.dom.MethodBinding.getKey(MethodBinding.java:167)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:513)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:549)
	at org.eclipse.jdt.core.dom.MethodBinding.getKey(MethodBinding.java:167)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:513)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:549)
	at org.eclipse.jdt.core.dom.MethodBinding.getKey(MethodBinding.java:167)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:513)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:549)
	at org.eclipse.jdt.core.dom.MethodBinding.getKey(MethodBinding.java:167)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:513)
	at org.eclipse.jdt.core.dom.TypeBinding.getKey(TypeBinding.java:549)
....... and so on ......
Comment 1 Federico Andres Lois CLA 2004-09-09 19:06:32 EDT
*** Bug 73631 has been marked as a duplicate of this bug. ***
Comment 2 Olivier Thomann CLA 2004-09-10 10:47:00 EDT
What build are you using? I believe this has already been fixed.
Comment 3 Federico Andres Lois CLA 2004-09-10 14:23:37 EDT
Sorry for not adding the version, It is my first bug report.

I am using the 1st of September Integration Build, I will download the 9th of
September to test if it has the same problem.

Greetings
Federico Andres Lois
Comment 4 Olivier Thomann CLA 2004-09-10 17:22:34 EDT
Please reopen if the next integration build that contains the fix for bug 73048
doesn't work.

*** This bug has been marked as a duplicate of 73048 ***
Comment 5 Frederic Fusier CLA 2004-09-24 05:50:10 EDT
Verified for 3.1 M2 with build I200409231635.