Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1823

backup tool should not fail with NPE when the db folder cannot be read

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0, 2.8.0
    • Component/s: tools
    • Labels:

      Description

      Found using revision 11742.

      1. delete db/userRoot folder
      2. now try to backup this backend
        $ ./bin/backup -n userRoot -d /tmp/bak
        [16/02/2015:11:14:24 +0100] category=TOOLS seq=0 severity=INFO msg=Starting backup for backend userRoot
        [16/02/2015:11:14:24 +0100] category=TOOLS seq=1 severity=SEVERE msg=An error occurred while attempting to back up backend userRoot with the requested configuration:  NullPointerException(BackupManager.java:343)
        [16/02/2015:11:14:24 +0100] category=TOOLS seq=2 severity=INFO msg=The backup process completed with one or more errors
        

        Attachments

          Activity

            People

            • Assignee:
              fabiop Fabio Pistolesi
              Reporter:
              csovant Christophe Sovant
              QA Assignee:
              Christophe Sovant
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: