You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/30 05:22:00 UTC

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

    [ https://issues.apache.org/jira/browse/DIRSERVER-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875663#comment-16875663 ] 

Emmanuel Lecharny commented on DIRSERVER-2135:
----------------------------------------------

Patch applied ({{3d67bd9eaffabe1ab5b280c0aab925cb791da8fc}}).

Very sorry for the long delay. 

I leave this issue as 'non resolved' as I'd like to evaluate if we haven't fixed the consequences, not the root cause.

In any case, thanks for the patch !

> 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
>            Priority: Major
>         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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org