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

Potential NPE in Commit.apply()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.8, 1.5.6
    • 1.4.9, 1.5.12, 1.6.0
    • core, documentmk
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: