Bug 73578 - Stack overflow when trying to copy text Ctrl-C
Summary: Stack overflow when trying to copy text Ctrl-C
Status: VERIFIED DUPLICATE of bug 73048
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 73631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-09 12:11 EDT by Federico Andres Lois CLA
Modified: 2004-09-24 05:50 EDT (History)
0 users

See Also:


Attachments

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