Bug 124361 (DEFECT000301488) - Null pointer exception in modify operation
Summary: Null pointer exception in modify operation
Status: VERIFIED FIXED
Alias: DEFECT000301488
Product: NDS SDK
Classification: Novell Products
Component: LDAP Java SDK (show other bugs)
Version: OCT 2006 NDK
Hardware: Other Other
: P5 - None : Normal
Target Milestone: FCS
Assignee: Jeff Vincent
QA Contact: Sundar Swamy
URL:
Whiteboard:
Keywords: English
Depends on:
Blocks:
 
Reported: 2002-05-16 19:58 UTC by Steve Sonntag
Modified: 2007-05-14 17:49 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
LDAPAttribute.java (17.40 KB, application/octet-stream)
2005-10-10 22:54 UTC, Rajkumar V
Details

Note You need to log in before you can comment on or make changes to this bug.
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>