directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-973) NPE while adding an entry in schema without an ObjectClass attribute
Date Mon, 18 Jun 2007 19:22:26 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505929
] 

Ole Ersoy commented on DIRSERVER-973:
-------------------------------------

> Hmmm...
> 
> Can't be...
> 
> i'm also quoting oids, and it workjs like a charm :

That's good :-)

SNIP

Hmmm - Maybe it was a one time freak thing.  I've been trying over and over, with every single
combination I can think of, and now it gives the proper LdapSchemaViolationException.  Should
I just close it?

Thanks,
- Ole




> NPE while adding an entry in schema without an ObjectClass attribute
> --------------------------------------------------------------------
>
>                 Key: DIRSERVER-973
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-973
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Ole Ersoy
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.5.1
>
>         Attachments: ObjectClassCreateTest.java
>
>
> I was creating this test to show that when creating meta objectclass entries, invalid
names are allowed.  However, the same name cannot be used as the value of the m-supObjectclass
attribute of meta objectclasses.  When I run the test I get this exception:
> org.apache.directory.server.core.interceptor.InterceptorException: Unexpected exception.
[Root exception is java.lang.NullPointerException]
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1515)
> To run the test just drop it into an instance of the testing archetype and remember to
update the dependencies :-):
>     <dependency>
>         <groupId>org.apache.directory.server</groupId>
>         <artifactId>apacheds-core</artifactId>
>         <version>1.5.1-SNAPSHOT</version>
>       </dependency>
> Cheers,
> - Ole

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


Mime
View raw message