directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] Created: (DIRSERVER-966) NPE When ObjectClass Attribute Missing
Date Mon, 11 Jun 2007 10:30:26 GMT
NPE When ObjectClass Attribute Missing

                 Key: DIRSERVER-966
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Ole Ersoy

In the code below the attribute is not added to the attributes.  When attempting to create
a subcontext, this results in an NPE.

         Attributes attributes                    =
             new BasicAttributes();
         Attribute attribute                        =
             new BasicAttribute(
                directoryContextL0                       =
              createSubcontext(l0RDN, attributes);

         directoryContextL1                       =
              createSubcontext(l1RDN, attributes);

When I try running the test above I get this: Unexpected exception. [Root
exception is java.lang.NullPointerException] 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message