java.lang.IllegalStateException: Cannot perform this operation because the connection pool has been closed.

GitHub | AEFeinstein | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Connection Pool Closed Exception

    GitHub | 6 months ago | AEFeinstein
    java.lang.IllegalStateException: Cannot perform this operation because the connection pool has been closed.
  2. 0

    IllegalStateException in getSectionForPosition use in an indexed list adapter on Nexus S

    Stack Overflow | 5 years ago | Yvan RAJAONARIVONY
    java.lang.IllegalStateException: get field slot from row 0 col 0 failed
  3. 0

    Could not find a method saveData(View)

    Google Groups | 6 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot perform this operation because the connection pool has been closed.

      at android.database.sqlite.SQLiteConnectionPool.throwIfClosedLocked()
    2. Android Platform
      AlphabetIndexer.getSectionForPosition
      1. android.database.sqlite.SQLiteConnectionPool.throwIfClosedLocked(SQLiteConnectionPool.java:962)
      2. android.database.sqlite.SQLiteConnectionPool.waitForConnection(SQLiteConnectionPool.java:599)
      3. android.database.sqlite.SQLiteConnectionPool.acquireConnection(SQLiteConnectionPool.java:348)
      4. android.database.sqlite.SQLiteSession.acquireConnection(SQLiteSession.java:894)
      5. android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:834)
      6. android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
      7. android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:151)
      8. android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:123)
      9. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:236)
      10. android.widget.AlphabetIndexer.getSectionForPosition(AlphabetIndexer.java:257)
      10 frames
    3. com.gelakinetic.mtgfam
      ResultListAdapter.getSectionForPosition
      1. com.gelakinetic.mtgfam.helpers.ResultListAdapter.getSectionForPosition(ResultListAdapter.java:286)
      1 frame
    4. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.widget.FastScroller.getPosFromItemCount(FastScroller.java:1286)
      2. android.widget.FastScroller.onScroll(FastScroller.java:936)
      3. android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:1460)
      4. android.widget.AbsListView.trackMotionScroll(AbsListView.java:5072)
      5. android.widget.AbsListView.scrollIfNeeded(AbsListView.java:3448)
      6. android.widget.AbsListView.startScrollIfNeeded(AbsListView.java:3376)
      7. android.widget.AbsListView.onTouchMove(AbsListView.java:3817)
      8. android.widget.AbsListView.onTouchEvent(AbsListView.java:3675)
      9. android.view.View.dispatchTouchEvent(View.java:9300)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2547)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2240)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      24. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      25. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      26. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      27. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      28. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)
      29. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      29 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2771)
      1 frame
    7. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
      2 frames
    8. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:9520)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5996)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6048)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      26. android.view.Choreographer.doFrame(Choreographer.java:600)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      28. android.os.Handler.handleCallback(Handler.java:739)
      29. android.os.Handler.dispatchMessage(Handler.java:95)
      30. android.os.Looper.loop(Looper.java:148)
      31. android.app.ActivityThread.main(ActivityThread.java:5417)
      31 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames