java.util.zip.ZipException: error in opening zip file

Atlassian JIRA | Pelle Kirkeby | 2 years ago
  1. 0

    h4.Steps to Reproduce # Install JIRA 6.3.3 using bin installer. # Use embedded JRE. h4.Diagnosis During plugin startup, JIRA throws error: {noformat} ___ Starting the JIRA Plugin System _________________ 2014-08-12 15:08:02,319 localhost-startStop-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Plugin system earlyStartup begun 2014-08-12 15:08:04,118 localhost-startStop-1 WARN [osgi.container.felix.ExportsBuilder] Failed to deep scan 'file:/opt/atlassian/jira/jre/lib/ext/._sunec.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getUrlClassPath(ExportsBuilder.java:356) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:257) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:175) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getExports(ExportsBuilder.java:127) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:249) at com.atlassian.jira.plugin.JiraOsgiContainerManager.start(JiraOsgiContainerManager.java:81) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:205) 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) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:328) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:29) at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:131) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:324) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:214) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:115) at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:31) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:78) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:73) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:71) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} h4. Workaround # Install another Java Runtime environment covered by [Supported Platforms|https://confluence.atlassian.com/display/JIRA/Supported+Platforms]. Only Oracle JDK 7 or 8 is supported for JIRA 6.3.x. OpenJDK is not supported. # Switch to the new JRE by setting {{JRE_HOME}} environment variable in {{$JIRA-INSTALL/bin/setenv.sh}} by adding to the top of the file: {noformat} export JRE_HOME=/path/to/another/jre {noformat} # Restart JIRA so that it uses the new JRE.

    Atlassian JIRA | 2 years ago | Pelle Kirkeby
    java.util.zip.ZipException: error in opening zip file
  2. 0

    h4.Steps to Reproduce # Install JIRA 6.3.3 using bin installer. # Use embedded JRE. h4.Diagnosis During plugin startup, JIRA throws error: {noformat} ___ Starting the JIRA Plugin System _________________ 2014-08-12 15:08:02,319 localhost-startStop-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Plugin system earlyStartup begun 2014-08-12 15:08:04,118 localhost-startStop-1 WARN [osgi.container.felix.ExportsBuilder] Failed to deep scan 'file:/opt/atlassian/jira/jre/lib/ext/._sunec.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getUrlClassPath(ExportsBuilder.java:356) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:257) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:175) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getExports(ExportsBuilder.java:127) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:249) at com.atlassian.jira.plugin.JiraOsgiContainerManager.start(JiraOsgiContainerManager.java:81) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:205) 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) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:328) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:232) at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:29) at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:131) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:324) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:214) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:115) at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:31) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:78) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:73) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:71) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} h4. Workaround # Install another Java Runtime environment covered by [Supported Platforms|https://confluence.atlassian.com/display/JIRA/Supported+Platforms]. Only Oracle JDK 7 or 8 is supported for JIRA 6.3.x. OpenJDK is not supported. # Switch to the new JRE by setting {{JRE_HOME}} environment variable in {{$JIRA-INSTALL/bin/setenv.sh}} by adding to the top of the file: {noformat} export JRE_HOME=/path/to/another/jre {noformat} # Restart JIRA so that it uses the new JRE.

    Atlassian JIRA | 2 years ago | Pelle Kirkeby
    java.util.zip.ZipException: error in opening zip file
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Version 1.4.2 for 1.6.X won't load

    GitHub | 3 years ago | RyelleZylar
    java.util.zip.ZipException: error in opening zip file
  5. 0

    LWC in tekkit

    GitHub | 4 years ago | gadamson
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml

  1. cesarnog 291 times, last 1 month ago
21 unregistered visitors
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.util.zip.ZipException

    error in opening zip file

    at java.util.zip.ZipFile.open()
  2. Java RT
    JarFile.<init>
    1. java.util.zip.ZipFile.open(Native Method)
    2. java.util.zip.ZipFile.<init>(Unknown Source)
    3. java.util.zip.ZipFile.<init>(Unknown Source)
    4. java.util.jar.JarFile.<init>(Unknown Source)
    5. java.util.jar.JarFile.<init>(Unknown Source)
    5 frames
  3. com.atlassian.plugin
    FelixOsgiContainerManager.start
    1. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getUrlClassPath(ExportsBuilder.java:356)
    2. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:257)
    3. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:175)
    4. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.getExports(ExportsBuilder.java:127)
    5. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:249)
    5 frames
  4. com.atlassian.jira
    JiraOsgiContainerManager.start
    1. com.atlassian.jira.plugin.JiraOsgiContainerManager.start(JiraOsgiContainerManager.java:81)
    1 frame
  5. com.atlassian.plugin
    FelixOsgiContainerManager.onStart
    1. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:205)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. com.atlassian.event
    AsynchronousAbleEventDispatcher$1$1.run
    1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
    2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46)
    2 frames
  8. Guava
    MoreExecutors$SameThreadExecutorService.execute
    1. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
    1 frame
  9. com.atlassian.event
    EventPublisherImpl.publish
    1. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:101)
    2. com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
    3. com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
    3 frames
  10. com.atlassian.plugin
    DefaultPluginManager.earlyStartup
    1. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)
    2. com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:328)
    2 frames
  11. com.atlassian.jira
    LauncherContextListener.contextInitialized
    1. com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:97)
    2. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:87)
    3. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:767)
    4. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:258)
    5. com.atlassian.jira.ComponentManager.start(ComponentManager.java:232)
    6. com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:29)
    7. com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:131)
    8. com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:324)
    9. com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:214)
    10. com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:115)
    11. com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:31)
    12. com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:78)
    13. com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:34)
    14. com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:73)
    15. com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:71)
    15 frames
  12. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    5 frames
  13. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    4. java.lang.Thread.run(Unknown Source)
    4 frames