directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] Created: (DIRSERVER-947) Add an Ole Exception
Date Sat, 26 May 2007 20:59:16 GMT
Add an Ole Exception

                 Key: DIRSERVER-947
             Project: Directory ApacheDS
          Issue Type: Improvement
         Environment: FC6
            Reporter: Ole Ersoy
            Priority: Minor

I cleaned up all my tests and made everything perfect, birds singing,
children laughing, etc.
Just to make sure everything is tight, I run the tests
one more time.

I get this exception:

javax.naming.NamingException: [LDAP: error code 80 - failed to add entry m-oid=,ou=attributeTypes,cn=das,ou=schema:
Unexpected exception.]; remaining name 'm-oid='
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(

Yeah - It's definitely unexpected.

What's up with thiiis?

Turns out I left one of methods like this:

        objectClassAttribute.add( META_TOP );
>>>  basicAttributes = new BasicAttributes();

>>>  basicAttributes = new BasicAttributes();
        basicAttributes.put( M_OBSOLETE,             LDAP_FALSE );
       blah blah blah

See it?  I restarted my basic attributes (And put blah blah blah right in the code).

Can we have a better exception being thrown for this?

I was thinking an Ole Exception with description "Ole, or someone pretending to be Ole, messed
the code up biggg time!
Go fix the attributes then talk to me".

- Ole

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

View raw message