org.h2.message.DbException: IO Exception: "Closing" [90028-191]

Stack Overflow | Tmr | 8 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

    SHUTDOWN DEFRAG failing on a big (100+ GB) database

    Stack Overflow | 8 months ago | Tmr
    org.h2.message.DbException: IO Exception: "Closing" [90028-191]

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Chunk 66 not found [1.4.191/6]

      at org.h2.mvstore.DataUtils.newIllegalStateException()
    2. H2 Database Engine
      JdbcPreparedStatement.execute
      1. org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
      2. org.h2.mvstore.MVStore.getChunk(MVStore.java:934)
      3. org.h2.mvstore.MVStore.readPageChunkReferences(MVStore.java:1368)
      4. org.h2.mvstore.MVStore.collectReferencedChunks(MVStore.java:1322)
      5. org.h2.mvstore.MVStore.collectReferencedChunks(MVStore.java:1327)
      6. org.h2.mvstore.MVStore.collectReferencedChunks(MVStore.java:1327)
      7. org.h2.mvstore.MVStore.collectReferencedChunks(MVStore.java:1307)
      8. org.h2.mvstore.MVStore.freeUnusedChunks(MVStore.java:1266)
      9. org.h2.mvstore.MVStore.storeNowTry(MVStore.java:1054)
      10. org.h2.mvstore.MVStore.storeNow(MVStore.java:1046)
      11. org.h2.mvstore.MVStore.commitAndSave(MVStore.java:1035)
      12. org.h2.mvstore.MVStore.beforeWrite(MVStore.java:2205)
      13. org.h2.mvstore.MVMap.beforeWrite(MVMap.java:1046)
      14. org.h2.mvstore.MVMap.copy(MVMap.java:1231)
      15. org.h2.mvstore.MVMap.copy(MVMap.java:1248)
      16. org.h2.mvstore.MVMap.copy(MVMap.java:1248)
      17. org.h2.mvstore.MVMap.copy(MVMap.java:1248)
      18. org.h2.mvstore.MVMap.copy(MVMap.java:1248)
      19. org.h2.mvstore.MVMap.copyFrom(MVMap.java:1218)
      20. org.h2.mvstore.MVStoreTool.compact(MVStoreTool.java:517)
      21. org.h2.mvstore.MVStoreTool.compact(MVStoreTool.java:482)
      22. org.h2.mvstore.MVStoreTool.compact(MVStoreTool.java:428)
      23. org.h2.mvstore.db.MVTableEngine$Store.close(MVTableEngine.java:385)
      24. org.h2.message.DbException.get(DbException.java:168)
      25. org.h2.mvstore.db.MVTableEngine$Store.close(MVTableEngine.java:396)
      26. org.h2.engine.Database.closeOpenFilesAndUnlock(Database.java:1386)
      27. org.h2.engine.Database.close(Database.java:1286)
      28. org.h2.engine.Database.removeSession(Database.java:1170)
      29. org.h2.engine.Session.close(Session.java:815)
      30. org.h2.command.dml.TransactionCommand.update(TransactionCommand.java:111)
      31. org.h2.command.CommandContainer.update(CommandContainer.java:98)
      32. org.h2.command.Command.executeUpdate(Command.java:258)
      33. org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:201)
      33 frames