Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUnable to unpack artifact when building
https://www.eclipse.org/forums/index.php/mv/msg/441225/989623/#msg_989623
I am having a problem where the B3 Aggregator is regularly having errors related to:
"Unpacking fails because intermediate file is empty"
The file listed is always located in my Temp Folder. I have plenty of space, and the original files are local mirrors that have proper size.
The file being unpacked could easily be one that was properly dealt with minutes earlier.
This is ground to a halt my attempt to merge the 3.8.1 release into a 3.8.1 compatible Juno Release. I have tried for over 4 weeks or "repeating" (sign of insanity?) the build through out the day over 1000 times now and always end up with at least 1 file with the "Unpacking fails" error. I have tried multiple machines to see if it was memory related as well.
The files are not always the same, though the eclipse.pde and eclipse.ui do appear regularly. as does the Apache ant files.
!ENTRY org.eclipse.b3.util 4 -364274674 2012-12-06 12:49:48.502
!MESSAGE Unable to unpack artifact osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 in repostory file <path to file>
at org.eclipse.core.runtime.CoreException: Unable to unpack artifact osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 ....
Help would be appreciated.]]>David Coley2012-12-07T01:58:18-00:00Re: Unable to unpack artifact when building
https://www.eclipse.org/forums/index.php/mv/msg/441225/991240/#msg_991240
> Help would be appreciated.
A wild guess might be that you are getting "bad files" from some mirror.
I know there are certain safe guards built-in to p2 to avoid bad mirrors
and retry if a bad file is found, but, not sure its perfect. Especially
if the mirror has just some files that have been damaged.
has instructions on
"Confirm_your_p2.mirrorsURL_works_with_p2_operations". In your case, you
are not trying to confirm that, but if you turn on debugging, you can
collect the extra output and see if the times you get one of those zero
length files its always from the same mirror? It'd be lot of output, but
if interested the brief instructions are to add these properties to your
..options file:
If you found a mirror consistently serving bad files, you could open a bug (probably on Eclipse Foundation, community, Servers).
HTH]]>David Williams2012-12-18T00:36:05-00:00Re: Unable to unpack artifact when building
https://www.eclipse.org/forums/index.php/mv/msg/441225/991242/#msg_991242
> On 12/06/2012 09:06 PM, David Coley wrote:
>> Help would be appreciated.
>
> A wild guess might be that you are getting "bad files" from some mirror.
>
Sorry. In re-reading your post I see you say "and the original files are
local mirrors that have proper size.".
The debug flags might help to make sure you are getting the files you
think but sounds like its something else.]]>David Williams2012-12-18T00:45:40-00:00Re: Unable to unpack artifact when building
https://www.eclipse.org/forums/index.php/mv/msg/441225/991246/#msg_991246
certain java versions and reading certain types of jar files - so, just
out of curiosity which OS and which Java are you running on?
- henrik
On 2012-07-12 3:06, David Coley wrote:
> B3 0.2.0.v20120330-1440
>
> I am having a problem where the B3 Aggregator is regularly having errors
> related to:
>
> "Unpacking fails because intermediate file is empty"
>
> The file listed is always located in my Temp Folder. I have plenty of
> space, and the original files are local mirrors that have proper size.
>
> The file being unpacked could easily be one that was properly dealt with
> minutes earlier.
>
> This is ground to a halt my attempt to merge the 3.8.1 release into a
> 3.8.1 compatible Juno Release. I have tried for over 4 weeks or
> "repeating" (sign of insanity?) the build through out the day over 1000
> times now and always end up with at least 1 file with the "Unpacking
> fails" error. I have tried multiple machines to see if it was memory
> related as well.
>
> The files are not always the same, though the eclipse.pde and eclipse.ui
> do appear regularly. as does the Apache ant files.
>
> !ENTRY org.eclipse.b3.util 4 -364274674 2012-12-06 12:49:48.502
> !MESSAGE Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 in
> repostory file <path to file>
>
> at org.eclipse.core.runtime.CoreException: Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 ....
>
> org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:53)
> org.eclipse.b3.aggregator.engine.MirrorGenerator.unpacktoSibling(MirrorGenerator.java:396)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.mirror(MirrorGenerator.java:302)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.run(MirrorGenerator.java:467)
>
> org.eclipse.b3.aggregator.engine.Builder.runMirroring(Builder.java:1695)
> org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1645)
> org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
>
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Help would be appreciated.]]>Henrik Lindberg2012-12-18T02:00:30-00:00Re: Unable to unpack artifact when building
https://www.eclipse.org/forums/index.php/mv/msg/441225/991350/#msg_991350
This is difficult to help out with given that it's different files that
fail. I think the only way to really see what's wrong is to debug the
unpackToSibling method and trap the original CoreException and then
trace that back further.
Is the aggregation in it self sensitive or could you send it to me so
that can give it a try?
- thomas
On 2012-12-07 03:06, David Coley wrote:
> B3 0.2.0.v20120330-1440
>
> I am having a problem where the B3 Aggregator is regularly having errors
> related to:
>
> "Unpacking fails because intermediate file is empty"
>
> The file listed is always located in my Temp Folder. I have plenty of
> space, and the original files are local mirrors that have proper size.
>
> The file being unpacked could easily be one that was properly dealt with
> minutes earlier.
>
> This is ground to a halt my attempt to merge the 3.8.1 release into a
> 3.8.1 compatible Juno Release. I have tried for over 4 weeks or
> "repeating" (sign of insanity?) the build through out the day over 1000
> times now and always end up with at least 1 file with the "Unpacking
> fails" error. I have tried multiple machines to see if it was memory
> related as well.
>
> The files are not always the same, though the eclipse.pde and eclipse.ui
> do appear regularly. as does the Apache ant files.
>
> !ENTRY org.eclipse.b3.util 4 -364274674 2012-12-06 12:49:48.502
> !MESSAGE Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 in
> repostory file <path to file>
>
> at org.eclipse.core.runtime.CoreException: Unable to unpack artifact
> osgi.bundle,org.eclipse.ui.workbench,3.103.1.v20120906-120042 ....
>
> org.eclipse.b3.util.ExceptionUtils.fromMessage(ExceptionUtils.java:53)
> org.eclipse.b3.aggregator.engine.MirrorGenerator.unpacktoSibling(MirrorGenerator.java:396)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.mirror(MirrorGenerator.java:302)
>
> org.eclipse.b3.aggregator.engine.MirrorGenerator.run(MirrorGenerator.java:467)
>
> org.eclipse.b3.aggregator.engine.Builder.runMirroring(Builder.java:1695)
> org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1645)
> org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
>
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> Help would be appreciated.]]>Thomas Hallgren2012-12-18T16:24:10-00:00