Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » EGit update site broken?
Re: EGit update site broken? [message #1780929 is a reply to message #1780924] Tue, 30 January 2018 06:44 Go to previous messageGo to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
I noticed that there are three versions of org.tukaani.xz floating around. The Photon stream has 1.6 but the Oxygen stream has 1.5 and Neon and older have 1.3. Perhaps you might try downloading Photon and Neon to see if they fail the same way. There is a source bundle for it, but given the stack trace in the reports you linked have no lines, perhaps it's not compiled with debug information. Looking at the source I see:
    public static StreamFlags decodeStreamHeader(byte[] buf)
            throws IOException {
        for (int i = 0; i < XZ.HEADER_MAGIC.length; ++i)
            if (buf[i] != XZ.HEADER_MAGIC[i])
                throw new XZFormatException();
where the HEADER_MAGIC is defined as
    /**
     * XZ Header Magic Bytes begin a XZ file.
     * This can be useful to detect XZ compressed data.
     */
    public static final byte[] HEADER_MAGIC = {
            (byte)0xFD, '7', 'z', 'X', 'Z', '\0' };
So you could have a look at ~/.eclipse/org.eclipse.oomph.p2/cache/http___download.eclipse.org_egit_updates_content.xml.xz to see if the file really has been downloaded with the incorrect initial bytes. And you might try downloading that file with the browser to see if the comes through the network correctly that way.


Ed Merks
Professional Support: https://www.macromodeling.com/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:p2 bundle pools and caching
Next Topic:Problem building oomph
Goto Forum:
  


Current Time: Fri Mar 29 11:37:03 GMT 2024

Powered by FUDForum. Page generated in 0.03185 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top