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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2016/10/05 15:52:20 UTC
[jira] [Updated] (OAK-4894) Potential NPE in Commit.apply()
[ https://issues.apache.org/jira/browse/OAK-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger updated OAK-4894:
----------------------------------
Affects Version/s: 1.5.6
1.4.8
> Potential NPE in Commit.apply()
> -------------------------------
>
> Key: OAK-4894
> URL: https://issues.apache.org/jira/browse/OAK-4894
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, documentmk
> Affects Versions: 1.5.6, 1.4.8
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.6
>
>
> May happen when a branch commit fails and {{Commit#b}} is not initialized. The code should rather use getBranch(), which is responsible for lazy initializing the field.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)