jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-7082) ArrayIndexOutOfBoundsException when upgrading from Oak 1.6
Date Tue, 19 Dec 2017 16:42:00 GMT
Michael Dürig created OAK-7082:
----------------------------------

             Summary: ArrayIndexOutOfBoundsException when upgrading from Oak 1.6
                 Key: OAK-7082
                 URL: https://issues.apache.org/jira/browse/OAK-7082
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: segment-tar
            Reporter: Michael Dürig
            Assignee: Michael Dürig
            Priority: Critical
             Fix For: 1.8


When starting on an Oak 1.6 repository and the {{gc.log}} file is present the TarMK fails
with:
{noformat}
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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message