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 215366 - Run time error --- java.util.zip.ZipException: error in opening zip file
Summary: Run time error --- java.util.zip.ZipException: error in opening zip file
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: issues@apisupport
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 15:44 UTC by jackie-c
Modified: 2012-07-11 07:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jackie-c 2012-07-10 15:44:19 UTC
I'm writing a netbeans ui application in the netbeans ide, that consists of 5 modules. All modules depend on the same jar, which I've created a "library" for. The jar gets periodically updated, so I replaced this jar with a symlink to the output directory where the jar actually gets built. I've also replaced all the places where the jar is copied to (release/module/ext for each module) with symlinks to the correct jar. I periodically have to redo this step. 

My problem is that now, I can't run my application because I get a ZipException presumably when netbeans tries to extract my library jar. Running my application somehow corrupts the library jar.

Before running my application:
'jar tf ovation.jar' correctly lists the classes in the jar

After running my application
'jar tf ovation.jar' gives me the java.util.zip.ZipException
Comment 1 Tomas Danek 2012-07-11 07:19:32 UTC
can you please add steps to reproduce from scratch on fome foo application so that we can replicate?
Thanks in advance.