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 214903 - java.util.zip.ZipException: invalid CEN header (bad signature)
Summary: java.util.zip.ZipException: invalid CEN header (bad signature)
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 10:38 UTC by papo77
Modified: 2012-11-06 10:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 190212


Attachments
stacktrace (5.59 KB, text/plain)
2012-06-28 10:38 UTC, papo77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description papo77 2012-06-28 10:38:35 UTC
This bug was originally marked as duplicate of bug 183696, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP

Stacktrace: 
java.util.zip.ZipException: invalid CEN header (bad signature)
   at java.util.zip.ZipFile.open(ZipFile.java:0)
   at java.util.zip.ZipFile.<init>(ZipFile.java:114)
   at java.util.jar.JarFile.<init>(JarFile.java:133)
   at java.util.jar.JarFile.<init>(JarFile.java:112)
   at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:499)
   at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:492)
Comment 1 papo77 2012-06-28 10:38:38 UTC
Created attachment 121488 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-11-06 10:55:02 UTC
The report
http://statistics.netbeans.org/exceptions/messageslog?id=605669
signals temporary outage of file handles, but after retrying the JAR file got opened - at least it seems.

Report 
http://statistics.netbeans.org/exceptions/messageslog?id=605215
did not succeed:

INFO [org.netbeans.JarClassLoader]: file /usr/local/netbeans-7.1.1/java/modules/ext/maven/indexer-core-4.1.2.jar exists. # of retries 4
INFO [org.netbeans.JarClassLoader]: /usr/local/netbeans-7.1.1/java/modules/ext/maven/indexer-core-4.1.2.jar isDirectory: false, isFile: true
INFO [org.netbeans.JarClassLoader]: Cannot open /usr/local/netbeans-7.1.1/java/modules/ext/maven/indexer-core-4.1.2.jar
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)


Anyway the reports are from 7.1.x. No report since then. Closing as worksforme.