directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DIRSERVER-1211) Error code 54 in modify-replace operation
Date Wed, 17 Mar 2010 10:58:27 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846378#action_12846378
] 

Brad edited comment on DIRSERVER-1211 at 3/17/10 10:56 AM:
-----------------------------------------------------------

Reopened for version 1.5.5 after discussion on users mailing list. 

Our directory instance running on JBoss 5.1 logged the following stack trace:

java.lang.IllegalArgumentException: Key not found: 275
at jdbm.btree.BPage.remove(BPage.java:480)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BTree.remove(BTree.java:366)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:803)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:490)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1602)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1725)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:535)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:845)
at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:143)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.journal.JournalInterceptor.modify(JournalInterceptor.java:217)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
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:1216)
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:1216)
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:1216)
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:1216)
at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209
)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
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:1216)
at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146)
at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821)
at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
at java.lang.Thread.run(Thread.java:619)

      was (Author: braduk1973):
    Reopened for version 1.5.5 after discussion on users mailing list. 

Our directory instance running on JBoss 5.1logged the following stack trace:

java.lang.IllegalArgumentException: Key not found: 275
at jdbm.btree.BPage.remove(BPage.java:480)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BPage.remove(BPage.java:492)
at jdbm.btree.BTree.remove(BTree.java:366)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.remove(JdbmTable.java:803)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.drop(JdbmIndex.java:490)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.replace(JdbmStore.java:1602)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1725)
at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:535)
at org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:845)
at org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:143)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.journal.JournalInterceptor.modify(JournalInterceptor.java:217)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
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:1216)
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:1216)
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:1216)
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:1216)
at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209
)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
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:1216)
at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336)
at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216)
at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146)
at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821)
at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829)
at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56)
at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176)
at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232)
at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:480)
at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:434)
at java.lang.Thread.run(Thread.java:619)
  
> 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
>             Fix For: 1.5.4
>
>
> 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