java.lang.IllegalStateException: error in opening zip file

Atlassian JIRA | Charles Miller | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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 | 9 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 | 9 years ago | Charles Miller
    java.lang.IllegalStateException: error in opening zip file
  3. 0

    android sqlite database access raising lock error

    Stack Overflow | 4 years ago | mungaih pk
    java.lang.IllegalStateException: database /data/data/com.intelligent.stocktrader/databases/stocktrader.db (conn# 0) already closed 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.verifyDbIsOpen(SQLiteDatabase.java:2082) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:413) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:400) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:79) 09-11 13:11:15.339: W/System.err(22091): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:160) 09-11 13:11:15.339: W/System.err(22091): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:152) 09-11 13:11:15.339: W/System.err(22091): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:158) 09-11 13:11:15.349: W/System.err(22091): at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:235) 09-11 13:11:15.349: W/System.err(22091): at com.intelligent.stocktrader.database.ShareService.checkWatchList(ShareService.java:160) 09-11 13:11:15.349: W/System.err(22091): at com.intelligent.stocktrader.database.ShareService.onCreate(ShareService.java:63) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2252) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread.access$1600(ActivityThread.java:122) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200) 09-11 13:11:15.369: W/System.err(22091): at android.os.Handler.dispatchMessage(Handler.java:99) 09-11 13:11:15.369: W/System.err(22091): at android.os.Looper.loop(Looper.java:137) 09-11 13:11:15.369: W/System.err(22091): at android.app.ActivityThread.main(ActivityThread.java:4340) 09-11 13:11:15.369: W/System.err(22091): at java.lang.reflect.Method.invokeNative(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to avoid .IllegalStateException

    Stack Overflow | 6 years ago | jennifer
    java.lang.IllegalStateException: Could not execute method of the activity 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.View$1.onClick(View.java:2031) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android. view.View.performClick(View.java:2364) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.View.onTouchEvent(View.java:4179) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.widget.TextView.onTouchEvent(TextView.java:6541) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.View.dispatchTouchEvent(View.java:3709) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.app.Activity.dispatchTouchEvent(Activity.java:2061) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.os.Handler.dispatchMessage(Handler.java:99) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at android.os.Looper.loop(Looper .java:123) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): ... 26 more 02-09 12:06:39.574: ERROR/AndroidRuntime(198): Caused by: java.lang.reflect.InvocationTargetException 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at com.ey.eyconnect.Connect_EY.btnSaveActive(Connect_EY.java:1734) 02-09 12:06:39.574: ERROR/AndroidRuntime(198): at java.lang.reflect.Method.invokeNative(Native Method)
  6. 0

    error Bad request for field slot 0,-1

    Stack Overflow | 5 years ago | Avi Kumar Manku
    java.lang.IllegalStateException: get field slot from row 0 col -1 failed 03-20 11:43:43.526: W/System.err(6138): at android.database.CursorWindow.getString_native(Native Method) 03-20 11:43:43.526: W/System.err(6138): at android.database.CursorWindow.getString(CursorWindow.java:329) 03-20 11:43:43.526: W/System.err(6138): at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:49) 03-20 11:43:43.526: W/System.err(6138): at golf.score.project.ExtendedScoreDisplay.onCreate(ExtendedScoreDisplay.java:123) 03-20 11:43:43.536: W/System.err(6138): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 03-20 11:43:43.556: W/System.err(6138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) 03-20 11:43:43.556: W/System.err(6138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 03-20 11:43:43.556: W/System.err(6138): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 03-20 11:43:43.556: W/System.err(6138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 03-20 11:43:43.567: W/System.err(6138): at android.os.Handler.dispatchMessage(Handler.java:99) 03-20 11:43:43.577: W/System.err(6138): at android.os.Looper.loop(Looper.java:123) 03-20 11:43:43.598: W/System.err(6138): at android.app.ActivityThread.main(ActivityThread.java:4627) 03-20 11:43:43.598: W/System.err(6138): at java.lang.reflect.Method.invokeNative(Native Method)

    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