Bugzilla – Bug 124361
Null pointer exception in modify operation
Last modified: 2007-05-14 17:49:04 UTC
------- Bug moved to this database by vrajkumar@novell.com 2005-10-10 16:54 ------- This bug previously known as bug DEFECT000301488 at remedy/ remedy/show_bug.cgi?id=DEFECT000301488 Originally filed under the NDS SDK product and LDAP Java SDK component. --------- <remedy_version_found_in> Sept NDK </remedy_version_found_in> --------- <remedy_details> I've come across what I think is an assumption bug in the JLDAP API. I think the assumption is that every attribute must have a value therefore there is no attempt to check or act if an attribute doesn't have a value. A situation where an attribute may not have a value is a delete modification. The attribute doesn't need a value because (obviously) its going to be deleted. This bug manifests itself as a java.lang.NullPointerException when you try to do a delete modification. See attached suggested patch </remedy_details>