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:32:20 UTC
[jira] [Created] (OAK-4894) Potential NPE in Commit.apply()
Marcel Reutegger created OAK-4894:
-------------------------------------
Summary: 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)