directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-1224) Moving an INetOrgUser from one OU to Another fails
Date Mon, 11 Aug 2008 23:56:44 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Karasulu closed DIRSERVER-1224.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.4

Fixed it.

> Moving an INetOrgUser from one OU to Another fails
> --------------------------------------------------
>
>                 Key: DIRSERVER-1224
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1224
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.3
>         Environment: Ubuntu 8.04
> java -version
> java version "1.6.0_06"
> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
> Happens on 32 bit and 64 bit Ubuntu
>            Reporter: dylan taft
>            Assignee: Alex Karasulu
>            Priority: Critical
>             Fix For: 1.5.4
>
>
> Create an 2 OUs under a domain, add an INetOrgPerson to one, right click it, move to
the other OU.  It will become lost.  You will be unable to export the OU to LDIF, may receive
error code 33, may receive null pointer messages
> Only solution is to delete the partitions and start fresh
> Error while reading entry
> [LDAP: error code 54 - failed on search operation: Unexpected exception.:
>     SearchRequest
>         baseDn : 'ou=Users2,dc=example,dc=com'
>         filter : '(2.5.4.0=*:[4])'
>         scope : single level
>         typesOnly : false
>         Size Limit : 1000
>         Time Limit : no limit
>         Deref Aliases : deref Always
>         attributes : 'hasSubordinates', 'objectClass'
> :
> 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:1421)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.access$700(InterceptorChain.java:70)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1225)
> 	at org.apache.directory.server.core.subtree.SubentryInterceptor.search(SubentryInterceptor.java:261)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.schema.SchemaInterceptor.search(SchemaInterceptor.java:695)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.search(OperationalAttributeInterceptor.java:312)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.exception.ExceptionInterceptor.search(ExceptionInterceptor.java:527)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.search(DefaultAuthorizationInterceptor.java:503)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.search(AciAuthorizationInterceptor.java:1022)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.referral.ReferralInterceptor.search(ReferralInterceptor.java:981)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authn.AuthenticationInterceptor.search(AuthenticationInterceptor.java:396)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.normalization.NormalizationInterceptor.search(NormalizationInterceptor.java:180)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.search(InterceptorChain.java:829)
> 	at org.apache.directory.server.core.partition.PartitionNexusProxy.search(PartitionNexusProxy.java:569)
> 	at org.apache.directory.server.core.partition.PartitionNexusProxy.search(PartitionNexusProxy.java:512)
> 	at org.apache.directory.server.core.jndi.ServerContext.doSearchOperation(ServerContext.java:295)
> 	at org.apache.directory.server.core.jndi.ServerDirContext.search(ServerDirContext.java:679)
> 	at org.apache.directory.server.ldap.handlers.DefaultSearchHandler.searchMessageReceived(DefaultSearchHandler.java:375)
> 	at org.apache.directory.server.ldap.handlers.SearchHandler.messageReceived(SearchHandler.java:41)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
> 	at org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler.messageReceived(LdapServer.java:1179)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
> 	at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
> 	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
> 	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> 	at org.apache.directory.server.core.partition.impl.btree.BTreePartition.lookup(BTreePartition.java:307)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.lookup(DefaultPartitionNexus.java:1039)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.addCollectiveAttributes(CollectiveAttributeInterceptor.java:130)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.access$100(CollectiveAttributeInterceptor.java:66)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor$1.accept(CollectiveAttributeInterceptor.java:96)
> 	at org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration.prefetch(SearchResultFilteringEnumeration.java:316)
> 	at org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration.<init>(SearchResultFilteringEnumeration.java:119)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.search(CollectiveAttributeInterceptor.java:346)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	... 40 more
> ]
>   [LDAP: error code 54 - failed on search operation: Unexpected exception.:
>     SearchRequest
>         baseDn : 'ou=Users2,dc=example,dc=com'
>         filter : '(2.5.4.0=*:[4])'
>         scope : single level
>         typesOnly : false
>         Size Limit : 1000
>         Time Limit : no limit
>         Deref Aliases : deref Always
>         attributes : 'hasSubordinates', 'objectClass'
> :
> 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:1421)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.access$700(InterceptorChain.java:70)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1225)
> 	at org.apache.directory.server.core.subtree.SubentryInterceptor.search(SubentryInterceptor.java:261)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.schema.SchemaInterceptor.search(SchemaInterceptor.java:695)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.search(OperationalAttributeInterceptor.java:312)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.exception.ExceptionInterceptor.search(ExceptionInterceptor.java:527)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.search(DefaultAuthorizationInterceptor.java:503)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.search(AciAuthorizationInterceptor.java:1022)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.referral.ReferralInterceptor.search(ReferralInterceptor.java:981)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.authn.AuthenticationInterceptor.search(AuthenticationInterceptor.java:396)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	at org.apache.directory.server.core.normalization.NormalizationInterceptor.search(NormalizationInterceptor.java:180)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain.search(InterceptorChain.java:829)
> 	at org.apache.directory.server.core.partition.PartitionNexusProxy.search(PartitionNexusProxy.java:569)
> 	at org.apache.directory.server.core.partition.PartitionNexusProxy.search(PartitionNexusProxy.java:512)
> 	at org.apache.directory.server.core.jndi.ServerContext.doSearchOperation(ServerContext.java:295)
> 	at org.apache.directory.server.core.jndi.ServerDirContext.search(ServerDirContext.java:679)
> 	at org.apache.directory.server.ldap.handlers.DefaultSearchHandler.searchMessageReceived(DefaultSearchHandler.java:375)
> 	at org.apache.directory.server.ldap.handlers.SearchHandler.messageReceived(SearchHandler.java:41)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
> 	at org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler.messageReceived(LdapServer.java:1179)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
> 	at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
> 	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
> 	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
> 	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
> 	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> 	at org.apache.directory.server.core.partition.impl.btree.BTreePartition.lookup(BTreePartition.java:307)
> 	at org.apache.directory.server.core.partition.DefaultPartitionNexus.lookup(DefaultPartitionNexus.java:1039)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.addCollectiveAttributes(CollectiveAttributeInterceptor.java:130)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.access$100(CollectiveAttributeInterceptor.java:66)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor$1.accept(CollectiveAttributeInterceptor.java:96)
> 	at org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration.prefetch(SearchResultFilteringEnumeration.java:316)
> 	at org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration.<init>(SearchResultFilteringEnumeration.java:119)
> 	at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.search(CollectiveAttributeInterceptor.java:346)
> 	at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search(InterceptorChain.java:1217)
> 	... 40 more
> ]

-- 
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