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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/03/11 19:23:43 UTC
[jira] [Resolved] (OAK-1524) NPE in TarMK flush thread
[ https://issues.apache.org/jira/browse/OAK-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved OAK-1524.
--------------------------------
Resolution: Fixed
Fixed as suggested in revision 1576452.
> NPE in TarMK flush thread
> -------------------------
>
> Key: OAK-1524
> URL: https://issues.apache.org/jira/browse/OAK-1524
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Chetan Mehrotra
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.19
>
>
> Following exception is seen at times with SegmentStore
> {noformat}
> unning org.apache.jackrabbit.oak.jcr.tck.NodetypeIT
> Exception in thread "TarMK flush thread: target/tar.1303694685400657" java.lang.NullPointerException
> at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.flush(FileStore.java:237)
> at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$1.run(FileStore.java:196)
> at java.lang.Thread.run(Thread.java:662)
> {noformat}
> Looking at FileStore#L237 [1] {{segments}} might be null when memoryMapped mode is used (default). Possibly a null check is required there
> [1] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/segment/file/FileStore.java#L237
--
This message was sent by Atlassian JIRA
(v6.2#6252)