Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4894

Potential NPE in Commit.apply()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.8, 1.5.6
    • Fix Version/s: 1.4.9, 1.5.12, 1.6.0
    • Component/s: core, documentmk
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: