Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 33394 invoked from network); 18 Aug 2008 14:12:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2008 14:12:44 -0000 Received: (qmail 96724 invoked by uid 500); 18 Aug 2008 14:12:43 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96671 invoked by uid 500); 18 Aug 2008 14:12:43 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 96660 invoked by uid 99); 18 Aug 2008 14:12:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 07:12:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 14:11:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8A1D5234C1B6 for ; Mon, 18 Aug 2008 07:11:45 -0700 (PDT) Message-ID: <1955630331.1219068705564.JavaMail.jira@brutus> Date: Mon, 18 Aug 2008 07:11:45 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-1211) Error code 54 in modify-replace operation In-Reply-To: <1603472058.1217193811693.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623353#action_12623353 ] Emmanuel Lecharny commented on DIRSERVER-1211: ---------------------------------------------- Here is the stack trace I get : java.lang.IllegalArgumentException: Key not found: 11 at jdbm.btree.BPage.remove(BPage.java:480) at jdbm.btree.BTree.remove(BTree.java:366) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:705) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:455) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1395) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1501) at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:511) at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:878) at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:141) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:360) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1490) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:203) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:353) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:281) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:337) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1174) at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:127) at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:783) at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:289) at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:419) at org.apache.directory.server.newldap.handlers.NewModifyHandler.handleIgnoringReferrals(NewModifyHandler.java:58) at org.apache.directory.server.newldap.handlers.NewModifyHandler.handleIgnoringReferrals(NewModifyHandler.java:40) at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handleWithReferrals(ReferralAwareRequestHandler.java:442) at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:150) at org.apache.directory.server.newldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:66) at org.apache.directory.server.newldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:167) at org.apache.directory.server.newldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:46) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141) at org.apache.directory.server.newldap.LdapServer$LdapProtocolHandler.messageReceived(LdapServer.java:1170) 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:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) > Error code 54 in modify-replace operation > ----------------------------------------- > > Key: DIRSERVER-1211 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1211 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.3 > Reporter: Stefan Seelmann > Assignee: Emmanuel Lecharny > > This error occurs with apacheds-1.5.3-fixed.tar.gz and the current trunk-with-dependencies (Revision 680187), both with default server.xml > I use studio to run the following LDIF: > --------------------------------------------- > dn: cn=Kate Bush,ou=system > changetype: add > objectClass: top > objectClass: person > objectClass: organizationalPerson > objectClass: inetOrgPerson > cn: Kate Bush > sn: Bush > dn: cn=Kate Bush,ou=system > changetype: modify > replace: ou > ou: Test > - > --------------------------------------------- > The second LDIF record fails with error 54. The log is here: http://www.pastebin.org/57617. > The error does not occur when I use 'add:ou' instead of 'replace:ou' > The error does not occur when I use another attribute, e.g. 'decription' instead of 'ou' > Emmanuel's idea on IM was that it is because 'ou' is indexed in the default server.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.