| Summary: | modal dialog shown when task list index is corrupt | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Emerson Murphy-Hill <captain.emerson> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | jtk499 |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 8 | ||
| Whiteboard: | |||
|
Description
Emerson Murphy-Hill
This is a bug in Apache Lucene: https://issues.apache.org/jira/browse/LUCENE-4405. Since it's been open for 2 years we should probably try to handle that exception: Actually there is not much we can do about it. The only way to resolve the issue is for the user to delete the file that Lucene objects to. Thanks, Sam. What about wrapping the error and throwing a more descriptive error message, and perhaps put it in the error log rather than a modal dialog? You're right, there shouldn't be a modal dialog when the index is corrupt and we can't fix it. Maybe once per session, to let the user know, but not every time they type in the task list. I am not sure that we can reliably extract the name of the offending file from the exception thrown by Lucene, but we could make a best effort. This bug has been marked helpwanted to indicate that we would be happy to support a community contribution to resolve it. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |