Open jukzi opened 1 year ago
Better to report this as a p2 problem. This code in MirrorRequest.perform assumes that remove will work:
// failed, first remove possibly erroneously added descriptor
if (target.contains(destinationDescriptor))
target.removeDescriptor(destinationDescriptor);
This looks like it will be tricky to reproduce... Probably it should catch such an exception to ignore removal...
This looks like it will be tricky to reproduce... Probably it should catch such an exception to ignore removal...
There must be something broken on another part... I looked in the code and what happens is that it downloads (or try to download) a descriptor but that fails, as downloading will add a descriptor to the repository it tries to now remove that descriptor again what fails because ExtensionLocationArtifactRepository
claims it is not modifiable, but in that case one should not try to download / mirror to this repository anyways.
Looking at the stracktrace at laest the at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:773)
point not to a valid line...
Also at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
does not point to a valid line so it seems at laes this stacktrace is not from a latest ibuild, if I look there it seems something is confused there because the DownloadJob uses an SimpleArtifactRepository
but the Artifact request seem to target the ExtensionLocationArtifactRepository
what itself declares as unmodifiable here...
While Oomphing platform i repeatedly get error box: