Skip to content

Cloudbees build failing with java.util.zip.ZipException: invalid block type #1

@DavidWhitlock

Description

@DavidWhitlock

The cloudbees buildhive build doesn't work and fails in the GWT Maven plugin with this exception

Caused by: java.util.zip.ZipException: invalid block type
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
    at java.io.FilterInputStream.read(FilterInputStream.java:116)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at org.codehaus.plexus.util.xml.XmlReader.getBOMEncoding(XmlReader.java:635)
    at org.codehaus.plexus.util.xml.XmlReader.doRawStream(XmlReader.java:459)
    at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:180)
    at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:143)
    at org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:86)
    at org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:104)
    at org.codehaus.mojo.gwt.AbstractGwtModuleMojo.readModule(AbstractGwtModuleMojo.java:233)

It looks like the GWT Maven plugin is trying to read a module XML file from a jar file and the BOM encoding is wrong. I've never seen anything like this before.

The only thing I can think of is that the file encoding isn't correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions