java.lang.IllegalStateException: error in opening zip file

Atlassian JIRA | Charles Miller | 8 years ago
  1. 0

    The plugin system does not catch errors unzipping plugins retrieved from the database. So if a corrupt plugin jar creeps in, that can break the entire plugin system. Example stack trace: 2008-08-08 00:04:09,481 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.9 (build #1415) 2008-08-08 00:04:48,466 ERROR [main] [atlassian.confluence.event.ConfluenceEventManager] publishEvent An exception was encountered while processing the event: com.atlassian.confluence.event.events.admin.ConfluenceReadyEvent[source=com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager@663ec] java.lang.IllegalStateException: error in opening zip file at com.atlassian.plugin.classloader.PluginClassLoader.<init>(PluginClassLoader.java:51) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:89) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.loadAllPlugins(ClassLoadingPluginLoader.java:64) at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.loadAllPlugins(DatabaseClassLoadingPluginLoader.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) Caused by PLUG-113

    Atlassian JIRA | 8 years ago | Charles Miller
    java.lang.IllegalStateException: error in opening zip file
  2. 0

    The plugin system does not catch errors unzipping plugins retrieved from the database. So if a corrupt plugin jar creeps in, that can break the entire plugin system. Example stack trace: 2008-08-08 00:04:09,481 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 2.9 (build #1415) 2008-08-08 00:04:48,466 ERROR [main] [atlassian.confluence.event.ConfluenceEventManager] publishEvent An exception was encountered while processing the event: com.atlassian.confluence.event.events.admin.ConfluenceReadyEvent[source=com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager@663ec] java.lang.IllegalStateException: error in opening zip file at com.atlassian.plugin.classloader.PluginClassLoader.<init>(PluginClassLoader.java:51) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:89) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.loadAllPlugins(ClassLoadingPluginLoader.java:64) at com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.loadAllPlugins(DatabaseClassLoadingPluginLoader.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) Caused by PLUG-113

    Atlassian JIRA | 8 years ago | Charles Miller
    java.lang.IllegalStateException: error in opening zip file
  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

    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

    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

      error in opening zip file

      at com.atlassian.plugin.classloader.PluginClassLoader.<init>()
    2. com.atlassian.plugin
      ClassLoadingPluginLoader.loadAllPlugins
      1. com.atlassian.plugin.classloader.PluginClassLoader.<init>(PluginClassLoader.java:51)
      2. com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:89)
      3. com.atlassian.plugin.loaders.ClassLoadingPluginLoader.loadAllPlugins(ClassLoadingPluginLoader.java:64)
      3 frames
    3. com.atlassian.confluence
      DatabaseClassLoadingPluginLoader.loadAllPlugins
      1. com.atlassian.confluence.plugin.DatabaseClassLoadingPluginLoader.loadAllPlugins(DatabaseClassLoadingPluginLoader.java:67)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames