Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7082

ArrayIndexOutOfBoundsException when upgrading from Oak 1.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.8.0
    • segment-tar

    Description

      When starting on an Oak 1.6 repository and the gc.log file is present the TarMK fails with:

      java.lang.ArrayIndexOutOfBoundsException: 5
              at org.apache.jackrabbit.oak.segment.file.GCJournal$GCJournalEntry.parseString(GCJournal.java:217)
              at org.apache.jackrabbit.oak.segment.file.GCJournal$GCJournalEntry.fromString(GCJournal.java:204)
              at org.apache.jackrabbit.oak.segment.file.GCJournal.read(GCJournal.java:115)
              at org.apache.jackrabbit.oak.segment.file.FileStore$GarbageCollector.compact(FileStore.java:750)
              at org.apache.jackrabbit.oak.segment.file.FileStore$GarbageCollector.compactFull(FileStore.java:731)
              at org.apache.jackrabbit.oak.segment.file.FileStore.compactFull(FileStore.java:385)
              at org.apache.jackrabbit.oak.segment.tool.Compact.run(Compact.java:273)
              at org.apache.jackrabbit.oak.run.CompactCommand.execute(CompactCommand.java:72)
              at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
      

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: