Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357740 - Quick outline causing unhandled event loop execution/java.lang.StackOverflowError
Summary: Quick outline causing unhandled event loop execution/java.lang.StackOverflowE...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 05:05 EDT by Nicklas Gummesson CLA
Modified: 2020-05-14 11:49 EDT (History)
3 users (show)

See Also:


Attachments
patch (1.97 KB, patch)
2011-09-15 05:27 EDT, Zhongwei Zhao CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicklas Gummesson CLA 2011-09-15 05:05:24 EDT
Build Identifier: I20110613-1736

I use quick outline quite a lot and all of sudden I get this error consistently.
Following the "steps to reproduce" this is happening consistently to me.

The error log gives me:
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.StackOverflowError
	at org.eclipse.dltk.internal.core.ProjectFragment.hashCode(ProjectFragment.java:114)
	at org.eclipse.dltk.internal.core.ScriptFolder.hashCode(ScriptFolder.java:127)
	at org.eclipse.dltk.internal.core.ModelElement.hashCode(ModelElement.java:299)
	at org.eclipse.dltk.internal.core.ModelElement.hashCode(ModelElement.java:299)
	at java.util.HashMap.get(HashMap.java:300)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:513)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
	at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSupertypes0(TypeHierarchy.java:519)
... (continues for another hundred lines or so).

Reproducible: Always

Steps to Reproduce:
1. Latest versions of Eclipse + PDT.
2. Have a PHP project which has been indexed by DLTK.
3. Open quick outline, using CMD+o.
4. Press CMD+o again to see parent/inherited methods/properties.
5. Eclipse displays a dialog window saying "Unhandled event loop execution\njava.lang.StackOverflowError", and advice me to close the workbench.
Comment 1 Nicklas Gummesson CLA 2011-09-15 05:09:16 EDT
Since I cannot select the proper PDT version in the ticket I'll write it here:
PDT - 3.0.0.v20110516-1100
DLTK H2-based indexer - 3.0.0.v20110423
Comment 2 Zhongwei Zhao CLA 2011-09-15 05:27:16 EDT
Created attachment 203391 [details]
patch
Comment 3 Dawid Pakula CLA 2014-02-18 18:34:45 EST
It works correctly with latest PDT/DLTK snapshot.
Comment 4 Sylvia Tancheva CLA 2015-06-05 01:46:36 EDT
Verified on Yosemite with current PDT. No errors. closing