[
https://issues.apache.org/jira/browse/OAK-4894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549122#comment-15549122
]
Marcel Reutegger commented on OAK-4894:
---------------------------------------
The issue was introduced with OAK-4556.
> 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
> 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)