directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dylan taft (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-362) Moving an INetOrgUser from one OU to Another fails
Date Tue, 29 Jul 2008 01:58:31 GMT
Moving an INetOrgUser from one OU to Another fails
--------------------------------------------------

                 Key: DIRSTUDIO-362
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-362
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.2.0
         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
            Priority: Critical


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