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

Bug 343262

Summary: [Java discoverer] Could not retrieve interfaces : "AbortCompilation"
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: TechnologiesAssignee: Fabien Giquel <fabien.giquel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
stacktrace none

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.