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

matthew_swift
19.26.2010 78ccbe537b86a09fc3dee784a60de0766c52a917
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
commit78ccbe537b86a09fc3dee784a60de0766c52a917
tree 74974a38d1c3b3d633ca1a01b3b3b753d2afb1e4 tree | zip | gz
parent fa5a9ffbc5a8aa993f458b556fcbd59f42fff495 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
opends/src/server/org/opends/server/authorization/dseecompat/AciTargets.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/StaticUtils.java 40 ●●●●● diff | view | raw | blame | history