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] [Commented] (OAK-7082) ArrayIndexOutOfBoundsException when upgrading from Oak 1.6
Date Tue, 19 Dec 2017 16:48:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16297066#comment-16297066
] 

Michael Dürig commented on OAK-7082:
------------------------------------

At http://svn.apache.org/viewvc?rev=1818689&view=rev I fixed the test expectations of
the respective UTs. Those tests are failing now with {{ArrayIndexOutOfBoundsException}} so
I ignored the until we have a fix. 

> 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)

Mime
View raw message