This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152010

Summary: java.io.EOFException at java.util.zip.GZIPInputStream.readUByte
Product: platform Reporter: Marian Mirilovic <mmirilovic>
Component: AutoupdateAssignee: dlipin <dlipin>
Status: CLOSED FIXED    
Severity: blocker CC: ammarabdulsalam, rgw21, tienganhtiengem, yogkar
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=123646
Issue Type: DEFECT Exception Reporter: 123646
Bug Depends on: 150034    
Bug Blocks:    

Description Marian Mirilovic 2008-10-31 17:17:40 UTC
5 duplicates so far ... sounds similar to issue 150034

Build: NetBeans IDE Dev (Build 200810041417)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows XP, 5.1, x86
User comments: i were excecuting the programe
STACKTRACE: (first 10 lines)
java.io.EOFException
        at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:207)
        at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:197)
        at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:136)
        at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
        at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:68)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getInputSource(AutoupdateCatalogParser.java:176)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:148)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:110)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
Comment 1 Jiri Rechtacek 2008-11-01 10:06:39 UTC
I guess both issue have same reason.
Comment 2 dlipin 2008-11-12 22:52:34 UTC
since 150034 is marked as fixed, Marian, could you please try to reproduce this one?
if it is not reproducible the we can just close it as the duplicate.
Comment 3 Lukas Hasik 2008-11-13 08:34:37 UTC
dlipin,  the problem here is that we don't know how to reproduce it(QE). Yes, we know that when the cached file is 0
then the exception happens however how and why its size is 0?

Comment 4 Marian Mirilovic 2008-11-13 08:46:54 UTC
BTW: looks like last reported exception came from a build where issue 150034 was already fixed.
Comment 5 Antonin Nebuzelsky 2008-11-14 15:32:16 UTC
Reassigning to the new "autoupdate/*" owner dlipin.
Comment 6 dlipin 2009-02-13 12:58:48 UTC
marking as INCOMPLETE while wait for the logs from the latest dailies with more detailed log.
Comment 7 dlipin 2009-03-04 10:55:02 UTC
*** Issue 159593 has been marked as a duplicate of this issue. ***
Comment 8 dlipin 2009-03-10 16:20:43 UTC
finally fixed in core-main#c07047c47ce9
Comment 9 Quality Engineering 2009-03-11 22:49:26 UTC
Integrated into 'main-golden', will be available in build *200903111543* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c07047c47ce9
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #150034 java.io.IOException: Not in GZIP format
Issue #152010 java.io.EOFException at java.util.zip.GZIPInputStream.readUByte
Under certain circumstances the size of catalog.xml.gz is proceeded is downloaded as the catalog.xml file.
Write exception in the log and don`t disturb the user too much.
Comment 10 Marian Mirilovic 2010-04-22 10:34:16 UTC
v/c