Community
Participate
Working Groups
20040219 If you are rebuilding the workbench and clicking around on the problems view if you hit a stale marker you will get an error like Error accessing marker type Reason: Marker id: 2799 not found. In your log.
*** Bug 71649 has been marked as a duplicate of this bug. ***
The easy fix is to call IMarker.exists() before trying to open the corresponding editor in ActionOpenMarker. Of course this leaves a small timing window since the marker could be deleted after calling exists() and before trying to open it, but it should greatly reduce the number of log error messages here.
*** Bug 77554 has been marked as a duplicate of this bug. ***
This is quite annoying. My scenario is not that unusual. I am using the Problems view to find broken references to a method that had its name changed (refactoring was not used). So my work flow is: click on first marker, manually fix the code (more than one occurrence), save, click the first entry on the problems view again for the next file (but the first entry is still showing the old marker). Then the error log view opens (on top of the problems view) to show the added entries, so I have to switch back to the other view. This may be seen as a user error. But if I had some kind of clue that the marker was stale (a beep), I would rather wait until the view refreshed, or try to look for the first marker for the next file.
Stale markers are now cleaned out on rebuild