Details
Description
Hi. We're using the p2 plugin to proxy the following p2 repository:
https://download.eclipse.org/releases/neon/201705151400
When our build system is trying to access certain jars we get a 502 error response. In the nexus logs we see the following entry:
*UNKNOWN org.sonatype.nexus.repository.p2.internal.proxy.P2ProxyFacetImpl - Exception java.io.IOException: invalid header field checking remote for update, proxy repo eclipse-neon failed to fetch http://download.eclipse.org/releases/neon/201705151400/plugins/org.apache.xml.resolver_1.2.0.v201005080400.jar, content not in cache.
I've tracked down the problem to class JarExtractor.java, method getSpecificEntity(). It seems that the first ZIP entry that reaches to the loop is file /META-INF/ECLIPSE_.SF that causes an IOException when trying to build a Manifest object on it.
I attach the jar downloaded directly from https://download.eclipse.org/releases/neon/201705151400