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

Francesco Mari resolved OAK-6386.
---------------------------------
    Resolution: Fixed

Fixed at r1799600.

> GarbageCollector#compact() throws NPE
> -------------------------------------
>
>                 Key: OAK-6386
>                 URL: https://issues.apache.org/jira/browse/OAK-6386
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>             Fix For: 1.8, 1.7.3
>
>
> The method {{FileStore.GarbageCollector#compact()}} will throw a NPE if 
> compaction is cancelled. In this case, {{SegmentWriter#writeNode()}} returns 
> {{null}}, but the caller does not check against it, thus causing the NPE to 
> be thrown.



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

Reply via email to