Bug 405299 - Bogus error markers in source
Summary: Bogus error markers in source
Status: NEW
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 2.2.3   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 2.2.4   Edit
Assignee: Andrew Eisenberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 12:18 EDT by Matthew Adams CLA
Modified: 2015-09-25 12:24 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot w/arrows indicating bogusness (818.88 KB, image/png)
2013-04-09 12:18 EDT, Matthew Adams CLA
no flags Details
Errors should show in pkg explorer & markers view (485.75 KB, image/png)
2013-04-09 12:20 EDT, Matthew Adams CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Adams CLA 2013-04-09 12:18:44 EDT
Created attachment 229518 [details]
Screenshot w/arrows indicating bogusness

1. AJDT: Editor indicates missing method in editor, but there is no corresponding Java error marker in the Package Explorer or the Markers tab.

2. AJDT: Editor indicates missing fields in editor, but there is no corresponding Java error marker in the Package Explorer or the Markers tab when there should be.

See attached images.
Comment 1 Matthew Adams CLA 2013-04-09 12:20:35 EDT
Created attachment 229519 [details]
Errors should show in pkg explorer & markers view
Comment 2 Andrew Eisenberg CLA 2013-04-09 13:45:22 EDT
Thanks for the bug report. I'll take a look.
Comment 3 Andrew Eisenberg CLA 2013-04-17 17:07:12 EDT
Finally getting a chance to look at this.  This problem will happen because the error detection in the editor is not using the aspectj compiler.  For various reasons, we cannot run the compiler for reconciling in the editor and therefore sometimes you will see gutter markers in the editor with no corresponding markers in the problems view.

In order to get to the bottom of this, I will need a minimal project to reproduce.  You can help if you can provide the aspect and the target class as text files.
Comment 4 Joerg Buchberger CLA 2015-09-25 12:18:58 EDT
maybe has duplicate bug 478051
Comment 5 Joerg Buchberger CLA 2015-09-25 12:19:36 EDT
possibly related forum thread:
https://www.eclipse.org/forums/index.php/m/898891/?srch=error+marker#msg_898891
Comment 6 Joerg Buchberger CLA 2015-09-25 12:24:47 EDT
Workaround works for me:

Disable aspectJ nature and re-adding it later.