Bug 137888 - Hierarchy of type ... is inconsistent
Summary: Hierarchy of type ... is inconsistent
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-04-21 03:24 EDT by Cédric Wider CLA
Modified: 2009-08-30 02:08 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 Cédric Wider CLA 2006-04-21 03:24:48 EDT
I recently had to import an existing project with many external references into eclipse. I tried to build the project and it came up with the error message "hierarchy of type ... is inconsistent" and not showing any additional information. - I searched google.com for an explanation of the error message and finally found one in bug 35899 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=35899).

Eclipse doesn't give any hint about where it couldn't resolve the necessary classes.

A more speaking error message with additional information about the exact problem or a quickfix would be greatly apreciated
Comment 1 Ralf Hauser CLA 2006-04-21 04:48:12 EDT
IMHO, it wouldn't be particularly resource consuming to
- include the missing super class name in the error message

Furthemore, an idea could be to provide the following quick-fix options:
- "create super class"
- remove "extends" in the class definition,
- ...
Comment 2 Martin Aeschlimann CLA 2006-04-24 13:58:09 EDT
I agree that it would be nice if the error message is more helpful. Moving to jdt.core.
Comment 3 Kent Johnson CLA 2006-05-11 11:32:50 EDT
Well actually we do tag the offending type with a specific error message (missing superclass or superinterface, etc.).

Its only the subtypes of that type that are tagged with "hierarchy is inconsistent".

Did you look at all of your errors or browse the hierarchy of one of the error types?
Comment 4 Olivier Thomann CLA 2006-10-10 21:36:49 EDT
Any new input?
Closing as REMIND. Please reopen if looking at the hierarchy didn't help.
Comment 5 Denis Roy CLA 2009-08-30 02:08:06 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.