directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1211) Error code 54 in modify-replace operation
Date Mon, 18 Aug 2008 14:11:45 GMT

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


Mime
View raw message