Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343262 - [Java discoverer] Could not retrieve interfaces : "AbortCompilation"
Summary: [Java discoverer] Could not retrieve interfaces : "AbortCompilation"
Status: CLOSED WONTFIX
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 09:13 EDT by Nicolas Bros CLA
Modified: 2013-04-29 07:38 EDT (History)
4 users (show)

See Also:


Attachments
stacktrace (3.48 KB, text/plain)
2011-04-19 09:13 EDT, Nicolas Bros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-04-19 09:13:17 EDT
Created attachment 193577 [details]
stacktrace

When benchmarking the Java discoverer on Eclipse projects (jdt, pde, jface, swt), I got a few dozen "Could not retrieve interfaces" error from JDT in the error log.

See attached stacktrace.
Comment 1 Fabien Giquel CLA 2011-04-19 10:15:38 EDT
MoDisco Java Discoverer uses jdt to parse and resolve all java classes. Just as jdt may log some errors at interactive compilation/navigation time, jdt may log such errors in error log when launched from MoDisco discovery.

For instance I have already noticed some "XX cannot be resolved" error coming from jdt in error log when using MoDisco Java Discoverer. After that when opening the java editor on java file which has the problem, the "CTRL + CLICK" navigation also displays the "XX cannot be resolved" message.

--> The problem is in the configuration of the projects which are analyzed. Jdt cannot do its job.


Here, i think it is this kind of problem when I see in the stacktrace "IStyledLabelProvider cannot be resolved. It is indirectly referenced from required .class files".

I close the issue. We may reopen it if you observe that the .class does not have the compile error "... referenced from required .class files" in your workspace. In such a case please describe the project test case.
Comment 2 Hugo Bruneliere CLA 2011-08-18 08:12:01 EDT
Bug not solved.