Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355309 - An internal error occurred during: "Semantic Highlighting Job"
Summary: An internal error occurred during: "Semantic Highlighting Job"
Status: CLOSED DUPLICATE of bug 355312
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 trivial (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 06:46 EDT by Amigo CLA
Modified: 2020-05-14 11:07 EDT (History)
1 user (show)

See Also:


Attachments

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