You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Peter Jamieson (JIRA)" <ji...@apache.org> on 2016/03/11 16:22:00 UTC

[jira] [Updated] (DIRSERVER-2135) null pointer exception in AbstractBTreePartition.modifyRemove

     [ https://issues.apache.org/jira/browse/DIRSERVER-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Jamieson updated DIRSERVER-2135:
--------------------------------------
    Attachment: DIRSERVER-2135.patch

Patch created for option 2 (simplest option)

> null pointer exception in AbstractBTreePartition.modifyRemove
> -------------------------------------------------------------
>
>                 Key: DIRSERVER-2135
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2135
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M21
>         Environment: CentOS 7
>            Reporter: Peter Jamieson
>         Attachments: DIRSERVER-2135.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)