Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355309

Summary: An internal error occurred during: "Semantic Highlighting Job"
Product: z_Archived Reporter: Amigo <violator>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: trivial    
Priority: P1 CC: ganoro
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Amigo CLA 2011-08-21 06:46:32 EDT
Build Identifier: I20110613-1736

Trying to change syntax coloring for several items it occurs error - An internal error occurred during: "Semantic Highlighting Job". It happens for items: Classes, Constants, Deprecated members, etc. But for Number, Keyword, String, for example, no errors.  Example window that is shown bellow items reflects all changes correctly. But the editor doesn't.

Here is exception trace:

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(Unknown Source)
at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getSuperclass(TypeHierarchy.java:589)
at org.eclipse.dltk.internal.core.hierarchy.TypeHierarchy.getAllSuperclasses(TypeHierarchy.java:483)

... the same as the last exception. It seems like non-end loop.

There is installed Java 7 (build 1.7.0-b147)

Reproducible: Always

Steps to Reproduce:
1. Window > Preferences > PHP > Editor > Syntax Coloring
2. Change color for Classes
3. Apply
Comment 1 Amigo CLA 2011-08-21 07:24:18 EDT
PDT build ID - 3.0.0 v20110516-1100
Comment 2 Amigo CLA 2011-08-21 12:03:14 EDT
I've tested my project at Linux (x86-64)
Build ID - 20110615-0604
PDT Build ID - 3.0.0 v20110516-1100
Works without any problem
Comment 3 Amigo CLA 2011-08-21 18:39:27 EDT
This issue has the same cause as described in Bug 355312.
There no errors if syntax coloring is changed while all project files are closed.

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