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 222162 - java.util.zip.ZipException: zip file is empty
Summary: java.util.zip.ZipException: zip file is empty
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 02:02 UTC by Exceptions Reporter
Modified: 2012-11-15 08:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185823


Attachments
stacktrace (5.88 KB, text/plain)
2012-11-15 02:02 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-11-15 02:02:09 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
GUEST: I was attempting to commit changes to a repository. This message appeared immediately after confirming which files I wanted to upload.

GUEST: I believe this occured as I attempted to commit a project to a subversion repository.

cniry2: sftp upload/download/test broken

GUEST: Installing Netbeans 7.1.1




Stacktrace: 
java.util.zip.ZipException: zip file is empty
   at java.util.zip.ZipFile.open(ZipFile.java:0)
   at java.util.zip.ZipFile.<init>(ZipFile.java:214)
   at java.util.zip.ZipFile.<init>(ZipFile.java:144)
   at java.util.jar.JarFile.<init>(JarFile.java:152)
   at java.util.jar.JarFile.<init>(JarFile.java:89)
   at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:706)
Comment 1 Exceptions Reporter 2012-11-15 02:02:12 UTC
Created attachment 127827 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-11-15 08:59:57 UTC
seems to be caused by this:
java.util.zip.ZipException: zip file is empty
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:214)
	at java.util.zip.ZipFile.<init>(ZipFile.java:144)
	at java.util.jar.JarFile.<init>(JarFile.java:152)
	at java.util.jar.JarFile.<init>(JarFile.java:89)
	at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:706)
	at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:587)
	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:667)
	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:660)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:659)
	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:813)
Caused: java.lang.InternalError
	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:815)

Probably a problem in JDK installation, try to reinstall JDK.