XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core VCS

      Description

      In some rare cases we stumble upon a H2 bug:

      Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IndexOutOfBoundsException: Index: 1, Size: 1"; SQL statement:
      ROLLBACK [50000-177]
      	at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
      	at org.h2.message.DbException.get(DbException.java:167)
      	at org.h2.message.DbException.convert(DbException.java:294)
      	at org.h2.mvstore.db.MVTableEngine$1.uncaughtException(MVTableEngine.java:90)
      	at org.h2.mvstore.MVStore.commitInBackground(MVStore.java:2126)
      	at org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:2311)
      Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
      	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      	at java.util.ArrayList.get(ArrayList.java:429)
      	at org.h2.mvstore.MVMap.searchRoot(MVMap.java:1091)
      	at org.h2.mvstore.MVMap.openVersion(MVMap.java:1055)
      	at org.h2.mvstore.MVStore.storeNow(MVStore.java:955)
      	at org.h2.mvstore.MVStore.commitAndSave(MVStore.java:893)
      	at org.h2.mvstore.MVStore.commitInBackground(MVStore.java:2123)
      	... 1 more
      

      We should upgrade H2 to the latest version to avoid this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: