| Summary: | java.io.FileNotFoundException when reading repository data | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Markus Kuppe <bugs.eclipse.org> | ||||
| Component: | Tycho | Assignee: | Project Inbox <tycho-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P2 | CC: | ge0ffrey.spam, jan.sievers | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Kuppe
this may happen if you manually remove tycho artifacts from the local maven repo but files in ~/.m2/repository/.meta/ still contain references to the deleted artifacts. Can you reproduce the problem after deleting ~/.m2/repository/.meta/ ? Removing the .meta/ folder works for me. Maybe the exception about the missing file could be turned into a message that indicates the inconsistency instead? (In reply to comment #2) > Removing the .meta/ folder works for me. Maybe the exception about the missing > file could be turned into a message that indicates the inconsistency instead? we should handle this more gracefully, e.g. remove the missing artifact from the index file if not found. *** Bug 353496 has been marked as a duplicate of this bug. *** Created attachment 201767 [details]
Patch proposal
Attached patch proposal
Thank you for the patch! Fixed with 0fb26fd. |