mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
19.26.2010 3f079ec0666b94902277f106d0d45e3cb8524344
refs
author matthew_swift <matthew_swift@localhost>
Tuesday, January 19, 2010 16:26 +0100
committer matthew_swift <matthew_swift@localhost>
Tuesday, January 19, 2010 16:26 +0100
commit3f079ec0666b94902277f106d0d45e3cb8524344
tree da9cce7f5c5413bc6860df2dcb53efcbe15c8855 tree | zip | gz
parent e0d4105c76ec6bc0c544ca664d7a98c420509667 view | diff
Fix issue 4492: base searches don't work.

Copied from the issue:

Fix a bug where an NPE is occurring during ACI processing because the base entry contains a single RDN component which our one-level scope resolution does not handle very well (actually this is understandable - DN.getParent() has surprising behavior for single RDN DNs). This bug can be seen more clearly on trunk builds because the NPE stack trace is non-empty (IIRC there was a bug in older JVM versions where the NPE stack trace could be empty).

Fix a bug where our exception handling code fails when an exception's stack trace is empty (in this case the NPE does not have any stack trace elements).

2 files modified
44 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciTargets.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/StaticUtils.java 40 ●●●●● diff | view | raw | blame | history