[ https://issues.apache.org/jira/browse/OAK-7082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-7082. -------------------------------- Resolution: Fixed Fixed at http://svn.apache.org/viewvc?rev=1818690&view=rev > 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 > Labels: migration > 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)