Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2135

null pointer exception in AbstractBTreePartition.modifyRemove

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M21
    • None
    • ppolicy
    • None
    • CentOS 7

    Description

      While testing DIRSERVER-2131, i was getting a null pointer exception in AbstractBTreePartition.
      the modification at AuthenticationInterceptor:1074 was: -
      ModifyContext for Dn 'uid=x135_Y246,ou=users,ou=system', modifications :
      Modification: remove
      , attribute : pwdReset: (null)
      Modification: remove
      , attribute : pwdReset: TRUE
      Modification: replace
      , attribute : entryCSN: 20160311143753.732000Z#000000#000#000000

      and this meant that the entryAttr value at AbstractBTreePartition:1752 was null.

      options are: -
      1) find out why pwdReset is removed and then replaced (the replace gets turned into a remove oddly).
      2) handle entryAttr being null.

      Attachments

        1. DIRSERVER-2135.patch
          1 kB
          Peter Jamieson

        Activity

          People

            Unassigned Unassigned
            peterjam28 Peter Jamieson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: