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.
This bug was originally marked as duplicate of bug 190134, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 101214-090a73ea0cba) VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04 OS: Windows 7 User Comments: misterm: Just deleted the processor jar and was pasting a new one. The error happened somewhere between this Stacktrace: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(ZipFile.java:0) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.zip.ZipFile.<init>(ZipFile.java:131) at org.netbeans.modules.java.source.parsing.FileObjects$ZipFileObject.openInputStream(FileObjects.java:1140) at org.netbeans.modules.java.source.parsing.FileObjects$FastZipFileObject.openInputStream(FileObjects.java:1179) at org.netbeans.modules.java.source.parsing.CachingArchiveClassLoader.readJavaFileObject(CachingArchiveClassLoader.java:140)
Created attachment 104162 [details] stacktrace
I believe it's a duplicate of some fixed issue. I will look.
The ZipFile throws ZipException rather than FileNotFoundException if the file does not exist. Another special check is needed :-(
Fixed jet-main d974fd037e87 The exception is caused by broken jar file with an annotation processor. The jar exists but is not valid (probably truncated).
Integrated into 'main-golden', will be available in build *201012180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d974fd037e87 User: Tomas Zezula <tzezula@netbeans.org> Log: #193504:[70cat] java.util.zip.ZipException: error in opening zip file