java.lang.IllegalStateException: zip file closed

JDK Bug System | Webbug Group | 2 years ago
  1. 0

    FULL PRODUCT VERSION : 1.8.0_40-b25 Java HotSpot(TM) Client VM ADDITIONAL OS VERSION INFORMATION : Windows 7, Windows 8 EXTRA RELEVANT SYSTEM CONFIGURATION : Client side cache is OFF Two or more the same Applets on page! A DESCRIPTION OF THE PROBLEM : The Java plug-in is not able to load two or more Applets pointing to the same jar file. When Java cache is disabled! Java 7 update 75+, Java 8 update 31+. REGRESSION. Last worked in version 7u76 ADDITIONAL REGRESSION INFORMATION: Java 8 update 31, Java 7 update 76 - have the same issue STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Open Java control panel 2. Disable the Java cache 3. load page with 2 or more applets (pointing to the same jar file) 4. see log: ... cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) ... EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - All Applets should load correctly. ACTUAL - Looks like MemoryCache has a conflict with reusing the same jar file many times. Java plug-in does not load jar files: Applets are not started. ERROR MESSAGES/STACK TRACES THAT OCCUR : Log started: Mi, 1 Apr 2015 10:29:16 +0200 Java Plug-in 11.40.2.25 Using JRE version 1.8.0_40-b25 Java HotSpot(TM) Client VM basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@4227ba basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@226088 basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@35196a security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Loading certificates from Internet Explorer ROOT certificate store security: Loaded certificates from Internet Explorer ROOT certificate store security: Loading certificates from Internet Explorer DISALLOWED certificate store security: Loaded certificates from Internet Explorer DISALLOWED certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store security: Checking if SSL certificate is in Deployment permanent certificate store security: Loading certificates from Internet Explorer ROOT certificate store security: Loaded certificates from Internet Explorer ROOT certificate store security: Revocation check disabled security: Invalid certificate from HTTPS server basic: Dialog type is not candidate for embedding security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache7086401617294260571.tmp network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache5445834516988789716.tmp network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache5487150593761588194.tmp security: blacklist: created: NEED_CREATE, lastModified: 0 security: Blacklist file not found or revocation check is disabled security: Blacklist file not found or revocation check is disabled security: Blacklist file not found or revocation check is disabled security: Trusted libraries list file not found security: Trusted libraries list file not found security: Trusted libraries list file not found cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache7086401617294260571.tmp cache: Adding MemoryCache entry: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache5487150593761588194.tmp cache: MemoryCache replacing https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar (refcnt=1). Was: com.sun.deploy.net.DownloadEngine$2@1f52a8d Now: com.sun.deploy.net.DownloadEngine$2@22df1a cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.getAllPCodeSources(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ignored exception: java.lang.IllegalStateException: zip file closed cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache5445834516988789716.tmp cache: MemoryCache replacing https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar (refcnt=1). Was: com.sun.deploy.net.DownloadEngine$2@22df1a Now: com.sun.deploy.net.DownloadEngine$2@180aafb cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.getAllPCodeSources(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ignored exception: java.lang.IllegalStateException: zip file closed network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" basic: Dialog type is not candidate for embedding security: Grant connect perm for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : java.security.Permissions@c1e14 ( ("java.net.URLPermission" "https://ldciy3s.wdf.sap.corp:57801" "*:*") ("java.net.URLPermission" "https://ldciy3s.wdf.sap.corp:57801/-" "*:*") ) basic: exception: java.lang.reflect.InvocationTargetException. java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) ... 15 more Caused by: java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.getPermissions(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.getPermissions(Unknown Source) at java.security.SecureClassLoader.getProtectionDomain(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) ... 19 more Ignored exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException basic: Dialog type is not candidate for embedding basic: Dialog type is not candidate for embedding basic: PluginMain.unregisterApplet: 10 from mananger sun.plugin2.applet.Applet2Manager@d95832 java.lang.NullPointerException at com.sun.deploy.ui.UIFactory.showErrorDialog(Unknown Source) at com.sun.deploy.ui.UIFactory.showExceptionDialog(Unknown Source) at com.sun.deploy.uitoolkit.impl.awt.ui.UIFactoryImpl.showExceptionDialog(Unknown Source) at com.sun.deploy.uitoolkit.ui.DelegatingPluginUIFactory.showExceptionDialog(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source) at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) security: Reset deny session certificate store basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@35196a java.lang.Exception: AppletLifecycle interrupted at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Make html page with 2 applets - pointing to the same jar file ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Activate the Java cache

    JDK Bug System | 2 years ago | Webbug Group
    java.lang.IllegalStateException: zip file closed
  2. 0

    FULL PRODUCT VERSION : 1.8.0_40-b25 Java HotSpot(TM) Client VM ADDITIONAL OS VERSION INFORMATION : Windows 7, Windows 8 EXTRA RELEVANT SYSTEM CONFIGURATION : Client side cache is OFF Two or more the same Applets on page! A DESCRIPTION OF THE PROBLEM : The Java plug-in is not able to load two or more Applets pointing to the same jar file. When Java cache is disabled! Java 7 update 75+, Java 8 update 31+. REGRESSION. Last worked in version 7u76 ADDITIONAL REGRESSION INFORMATION: Java 8 update 31, Java 7 update 76 - have the same issue STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Open Java control panel 2. Disable the Java cache 3. load page with 2 or more applets (pointing to the same jar file) 4. see log: ... cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) ... EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - All Applets should load correctly. ACTUAL - Looks like MemoryCache has a conflict with reusing the same jar file many times. Java plug-in does not load jar files: Applets are not started. ERROR MESSAGES/STACK TRACES THAT OCCUR : Log started: Mi, 1 Apr 2015 10:29:16 +0200 Java Plug-in 11.40.2.25 Using JRE version 1.8.0_40-b25 Java HotSpot(TM) Client VM basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@4227ba basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@226088 basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@35196a security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Expected Main URL: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar basic: Plugin2ClassLoader.addURL parent called for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre1.8.0_40\lib\security\cacerts security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Loading certificates from Internet Explorer ROOT certificate store security: Loaded certificates from Internet Explorer ROOT certificate store security: Loading certificates from Internet Explorer DISALLOWED certificate store security: Loaded certificates from Internet Explorer DISALLOWED certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store security: Checking if SSL certificate is in Deployment permanent certificate store security: Loading certificates from Internet Explorer ROOT certificate store security: Loaded certificates from Internet Explorer ROOT certificate store security: Revocation check disabled security: Invalid certificate from HTTPS server basic: Dialog type is not candidate for embedding security: Saving certificates in Deployment session certificate store security: Saved certificates in Deployment session certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Obtain certificate collection in SSL Root CA certificate store security: Loading certificates from Deployment session certificate store security: Loaded certificates from Deployment session certificate store security: Checking if certificate is in Internet Explorer DISALLOWED certificate store network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting http://ldciy3s.wdf.sap.corp:57801/ with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: ResponseCode for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : 200 network: Encoding for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : null network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Server response: (length: 188171, lastModified: Wed Mar 25 11:45:37 CET 2015, downloadVersion: null, mimeType: application/java-archive) network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Downloading resource: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar Content-Length: 188.171 Content-Encoding: null network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache7086401617294260571.tmp network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache5445834516988789716.tmp network: Wrote URL https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar to File C:\Users\D026619\AppData\Local\Temp\jar_cache5487150593761588194.tmp security: blacklist: created: NEED_CREATE, lastModified: 0 security: Blacklist file not found or revocation check is disabled security: Blacklist file not found or revocation check is disabled security: Blacklist file not found or revocation check is disabled security: Trusted libraries list file not found security: Trusted libraries list file not found security: Trusted libraries list file not found cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache7086401617294260571.tmp cache: Adding MemoryCache entry: https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache5487150593761588194.tmp cache: MemoryCache replacing https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar (refcnt=1). Was: com.sun.deploy.net.DownloadEngine$2@1f52a8d Now: com.sun.deploy.net.DownloadEngine$2@22df1a cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.getAllPCodeSources(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ignored exception: java.lang.IllegalStateException: zip file closed cache: signed entry "origin" missing from jar https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar security: Blacklist file not found or revocation check is disabled network: Disconnect connection to https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar network: Downloaded https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar: C:\Users\D026619\AppData\Local\Temp\jar_cache5445834516988789716.tmp cache: MemoryCache replacing https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar (refcnt=1). Was: com.sun.deploy.net.DownloadEngine$2@22df1a Now: com.sun.deploy.net.DownloadEngine$2@180aafb cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@9ad34624: 1 basic: exception: zip file closed. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.getAllPCodeSources(Unknown Source) at com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source) at com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source) at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source) at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Ignored exception: java.lang.IllegalStateException: zip file closed network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with proxy=DIRECT network: Connecting https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar with cookie "shpuvid=CkMtm1PrHNltRhnvAwadAg==; sap-usercontext=sap-language=EN&sap-client=000; SAP_SESSIONID_Y3S_000=Q6aVkjx-TlHt1IsUZ1R0hT5b2y_YSBHkriUAUFaPAgo%3d; MYSAPSSO2=AjQxMDMBABhXAEUASQBDAEsARAAgACAAIAAgACAAIAACAAYwADAAMAADABBZADMAUwAgACAAIAAgACAABAAYMgAwADEANQAwADQAMAAxADAAOAAyADIABQAEAAAACAYAAlgACQACRQD%2fATQwggEwBgkqhkiG9w0BBwKgggEhMIIBHQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH9MIH6AgEBMFAwRTELMAkGA1UEBhMCREUxDzANBgNVBAoTBlNBUC1BRzEMMAoGA1UECxMDWTNTMRcwFQYDVQQDDA4qLndkZi5zYXAuY29ycAIHIBEHFBEFUjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNDAxMDgyMjMyWjAjBgkqhkiG9w0BCQQxFgQU8Tq7iCDeGIp4w2%21QnkkAmZqU%2frcwCQYHKoZIzjgEAwQuMCwCFBFQHHBLpS9dd%215xANXL2F%21AY51kAhR%2fV%2fQqmasyriKBO9HzX9yZk9tPcA%3d%3d" basic: Dialog type is not candidate for embedding security: Grant connect perm for https://ldciy3s.wdf.sap.corp:57801/sap/public/bc/webdynpro/ssr/uuielibs/active_component/com_sap_acf_updown.jar : java.security.Permissions@c1e14 ( ("java.net.URLPermission" "https://ldciy3s.wdf.sap.corp:57801" "*:*") ("java.net.URLPermission" "https://ldciy3s.wdf.sap.corp:57801/-" "*:*") ) basic: exception: java.lang.reflect.InvocationTargetException. java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source) at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) ... 15 more Caused by: java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at java.util.jar.JarFile.getJarEntry(Unknown Source) at java.util.jar.JarFile.getManEntry(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.isTrustedByTrustDecider(Unknown Source) at sun.plugin2.applet.Plugin2ClassLoader.getPermissions(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.getPermissions(Unknown Source) at java.security.SecureClassLoader.getProtectionDomain(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) ... 19 more Ignored exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException basic: Dialog type is not candidate for embedding basic: Dialog type is not candidate for embedding basic: PluginMain.unregisterApplet: 10 from mananger sun.plugin2.applet.Applet2Manager@d95832 java.lang.NullPointerException at com.sun.deploy.ui.UIFactory.showErrorDialog(Unknown Source) at com.sun.deploy.ui.UIFactory.showExceptionDialog(Unknown Source) at com.sun.deploy.uitoolkit.impl.awt.ui.UIFactoryImpl.showExceptionDialog(Unknown Source) at com.sun.deploy.uitoolkit.ui.DelegatingPluginUIFactory.showExceptionDialog(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at com.sun.deploy.trace.Trace.printException(Unknown Source) at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source) at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) security: Reset deny session certificate store basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@35196a java.lang.Exception: AppletLifecycle interrupted at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Make html page with 2 applets - pointing to the same jar file ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Activate the Java cache

    JDK Bug System | 2 years ago | Webbug Group
    java.lang.IllegalStateException: zip file closed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Why jetty-runner-7.6.jar when run with jdk1.5 fails with java.lang.IllegalStateException: zip file closed?

    Stack Overflow | 3 years ago | Luxspes
    java.lang.IllegalStateException: zip file closed java.lang.IllegalStateException: zip file closed
  5. 0

    IllegalStateException occurs when selecting "New Editor" option from context menu

    Eclipse Bugzilla | 7 years ago | ankur_sharma
    java.lang.IllegalStateException: zip file closed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      zip file closed

      at java.util.zip.ZipFile.ensureOpen()
    2. Java RT
      JarFile.getManifest
      1. java.util.zip.ZipFile.ensureOpen(Unknown Source)
      2. java.util.zip.ZipFile.getEntry(Unknown Source)
      3. java.util.jar.JarFile.getEntry(Unknown Source)
      4. java.util.jar.JarFile.getJarEntry(Unknown Source)
      5. java.util.jar.JarFile.getManEntry(Unknown Source)
      6. java.util.jar.JarFile.getManifestFromReference(Unknown Source)
      7. java.util.jar.JarFile.getManifest(Unknown Source)
      7 frames
    3. com.sun.deploy
      DeployManifestChecker.getPermissionRequestType
      1. com.sun.deploy.security.DeployManifestChecker.getPermissionRequestType(Unknown Source)
      1 frame
    4. sun.plugin2.applet
      Applet2ClassLoader.wantsAllPerms
      1. sun.plugin2.applet.Applet2ClassLoader.wantsAllPerms(Unknown Source)
      1 frame
    5. com.sun.deploy
      DeployURLClassPath$JarLoader$1.run
      1. com.sun.deploy.security.CPCallbackHandler.getAllPCodeSources(Unknown Source)
      2. com.sun.deploy.security.CPCallbackHandler.access$700(Unknown Source)
      3. com.sun.deploy.security.CPCallbackHandler$ParentCallback.strategy(Unknown Source)
      4. com.sun.deploy.security.CPCallbackHandler$ParentCallback.openClassPathElement(Unknown Source)
      5. com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
      6. com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(Unknown Source)
      7. com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
      7 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. com.sun.deploy
      DeployURLClassPath$3.run
      1. com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
      2. com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
      3. com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
      3 frames
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. com.sun.deploy
      DeployURLClassPath.getResource
      1. com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
      2. com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
      3. com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      3 frames
    10. sun.plugin2.applet
      Plugin2ClassLoader$2.run
      1. sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      2. sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      2 frames
    11. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    12. sun.plugin2.applet
      Plugin2ClassLoader.loadClass
      1. sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      2. sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      3. sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      4. sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      5. sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      6. sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      7. sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
      7 frames
    13. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      1 frame
    14. sun.plugin2.applet
      Plugin2Manager$AppletExecutionRunnable.run
      1. sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      2. sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      3. sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      3 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame