You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/11/14 11:36:03 UTC

[jira] [Closed] (OAK-5002) NPE when creating read only store

     [ https://issues.apache.org/jira/browse/OAK-5002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella closed OAK-5002.
---------------------------------

Bulk close for 1.5.13

> NPE when creating read only store
> ---------------------------------
>
>                 Key: OAK-5002
>                 URL: https://issues.apache.org/jira/browse/OAK-5002
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.6, 1.5.13
>
>         Attachments: OAK_5002.patch
>
>
> Using {{org.apache.jackrabbit.oak.segment.SegmentNodeStoreBuilders#builder(org.apache.jackrabbit.oak.segment.file.ReadOnlyFileStore)}} to create a read only store results in a NPE:
> {noformat}
> Exception in thread "main" java.lang.NullPointerException
> 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)
> 	at org.apache.jackrabbit.oak.segment.SegmentNodeStore.builder(SegmentNodeStore.java:148)
> 	at org.apache.jackrabbit.oak.segment.SegmentNodeStoreBuilders.builder(SegmentNodeStoreBuilders.java:69)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)