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

GarbageCollector#compact() throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.3, 1.8.0
    • segment-tar
    • None

    Description

      The method FileStore.GarbageCollector#compact() will throw a NPE if compaction is cancelled. In this case, SegmentWriter#writeNode() returns null, but the caller does not check against it, thus causing the NPE to be thrown.

      Attachments

        Issue Links

          Activity

            People

              frm Francesco Mari
              frm Francesco Mari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: