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 111140 - InterceporStateless run fails on Mac
Summary: InterceporStateless run fails on Mac
Status: RESOLVED WORKSFORME
Alias: None
Product: usersguide
Classification: Unclassified
Component: JavaEE (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-07-26 16:18 UTC by Dan Kolar
Modified: 2007-08-08 09:24 UTC (History)
0 users

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 Dan Kolar 2007-07-26 16:18:09 UTC
full build 200707260000  jdk1.5.0.7  Mac

1) Create InterceptorStateless project
2) Run it

Run fails with:

Jul 26, 2007 5:12:36 PM com.sun.enterprise.deployment.deploy.shared.InputJarArchive getJarFile
SEVERE: "DPL8004: file open failure; file = /Users/test/NetBeansProjects/InterceptorStateless/dist/InterceptorStatelessClient.jar"
Jul 26, 2007 5:12:36 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>
WARNING: ACC003: Application threw an exception.
java.io.IOException: error in opening zip file --  invalid zip file: /Users/test/NetBeansProjects/InterceptorStateless/dist/InterceptorStatelessClient.jar
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getJarFile(InputJarArchive.java:248)
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.open(InputJarArchive.java:228)
        at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:94)
        at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:110)
        at com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivistForArchive(ArchivistFactory.java:93)
        at com.sun.enterprise.appclient.AppClientInfoFactory.prepareArchivist(AppClientInfoFactory.java:166)
        at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:107)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:366)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
        at com.sun.enterprise.appclient.Main.main(Main.java:200)
Caused by: 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:203)
        at java.util.jar.JarFile.<init>(JarFile.java:132)
        at java.util.jar.JarFile.<init>(JarFile.java:97)
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getJarFile(InputJarArchive.java:239)
        ... 9 more
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: error in opening zip file --  invalid zip file: /Users/test/NetBeansProjects/
InterceptorStateless/dist/InterceptorStatelessClient.jar
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:454)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
        at com.sun.enterprise.appclient.Main.main(Main.java:200)
Caused by: java.io.IOException: error in opening zip file --  invalid zip file: /Users/test/NetBeansProjects/InterceptorStateless/dist/
InterceptorStatelessClient.jar
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getJarFile(InputJarArchive.java:248)
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.open(InputJarArchive.java:228)
        at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:94)
        at com.sun.enterprise.deployment.archivist.PluggableArchivistsHelper.getArchivistForArchive(PluggableArchivistsHelper.java:110)
        at com.sun.enterprise.deployment.archivist.ArchivistFactory.getArchivistForArchive(ArchivistFactory.java:93)
        at com.sun.enterprise.appclient.AppClientInfoFactory.prepareArchivist(AppClientInfoFactory.java:166)
        at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:107)
        at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:366)
        ... 2 more
Caused by: 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:203)
        at java.util.jar.JarFile.<init>(JarFile.java:132)
        at java.util.jar.JarFile.<init>(JarFile.java:97)
        at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getJarFile(InputJarArchive.java:239)
        ... 9 more
Java Result: 1
Comment 1 Tomasz Slota 2007-08-08 09:24:16 UTC
It looks like a random failure in the low-level project infrastructure, I am not able to reproduce it.