Bug 124361 (DEFECT000301488)

Summary: Null pointer exception in modify operation
Product: [Novell Products] NDS SDK Reporter: Steve Sonntag <vtag>
Component: LDAP Java SDKAssignee: Jeff Vincent <jvincent>
Status: VERIFIED FIXED QA Contact: Sundar Swamy <ssundar>
Severity: Normal    
Priority: P5 - None CC: aclark
Version: OCT 2006 NDKKeywords: English
Target Milestone: FCS   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: LDAPAttribute.java

Description Rajkumar V 2005-10-10 22:54:41 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>