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

NullPointerException when querying the BackupBackend

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 6.5.2, 6.5.1, 6.5.0, 7.0.0
    • Fix Version/s: Not applicable
    • Component/s: None
    • Labels:
      None

      Description

      Querying the BackupBackend for a specific backend backup path gives an error message with a NullPointerException.

      Steps to reproduce

      ./bin/start-ds
      
      ./bin/backup  --hostname opendj.example.com  --port 4444  --bindDN "uid=admin"  --bindPassword password  --backupAll   --backupDirectory ./bak  --start 0  --trustAll
      
      ./bin/ldapsearch -p 1389 -D "uid=admin" -w password -b "ds-backup-directory-path=./bak/appData,cn=backups" "(&)"
      

      Actual Result

      # The LDAP search request failed: 80 (Other)
      # Additional Information:  An error occurred while attempting to examine the requested backup directory:  NullPointerException(BackupBackend.java:380)
      

      Expected Result

      The backup entry, or in the worst case, a more meaningful message without a NPE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                cedric.tran-xuan Cedric Tran-Xuan
                Dev Assignee:
                Jean-Noël Rouvignac
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: