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] Resolved: (DIRSERVER-1089) ConcurrentModificationException problem in org.apache.directory.shared.ldap.message.AttributesImpl
Date Sat, 10 May 2008 08:25:55 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1089.
------------------------------------------

    Resolution: Fixed

Fixed, as we are not anymore using AttributesImpl in the server

> ConcurrentModificationException problem in org.apache.directory.shared.ldap.message.AttributesImpl
> --------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1089
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1089
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.1
>         Environment: Noticed on various windows OS as well as kubuntu linux and suse
linux 64 bit.
> JDK 1.5_10
>            Reporter: Brian Gadwell
>             Fix For: 1.5.3
>
>
> This happens consistently:
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:827)
>         at org.apache.directory.shared.ldap.message.AttributesImpl.clone(
> AttributesImpl.java:499)
>         at
> org.apache.directory.server.core.partition.impl.btree.IndexRecord.getAttributes
> (IndexRecord.java:128)
>         at
> org.apache.directory.server.core.partition.impl.btree.BTreeSearchResultEnumeration.next
> (BTreeSearchResultEnumeration.java:192)
>         at
> org.apache.directory.server.core.partition.impl.btree.BTreeSearchResultEnumeration.next
> (BTreeSearchResultEnumeration.java:52)
>         at
> org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration.prefetch
> (SearchResultFilteringEnumeration.java:303)
>         at
> org.apache.directory.server.core.enumeration.SearchResultFilteringEnumeration
> .<init>(SearchResultFilteringEnumeration.java:118)
>         at org.apache.directory.mitosis.service.ReplicationService.search(
> ReplicationService.java:552)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.interceptor.BaseInterceptor.search(
> BaseInterceptor.java:199)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.interceptor.BaseInterceptor.search(
> BaseInterceptor.java:199)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.collective.CollectiveAttributeService.search
> (CollectiveAttributeService.java:320)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at org.apache.directory.server.core.subtree.SubentryService.search(
> SubentryService.java:248)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at org.apache.directory.server.core.schema.SchemaService.search(
> SchemaService.java:517)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.operational.OperationalAttributeService.search
> (OperationalAttributeService.java:310)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.exception.ExceptionService.search(
> ExceptionService.java:525)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.authz.DefaultAuthorizationService.search(
> DefaultAuthorizationService.java:510)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.authz.AuthorizationService.search(
> AuthorizationService.java:945)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at org.apache.directory.server.core.referral.ReferralService.search(
> ReferralService.java:975)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.authn.AuthenticationService.search(
> AuthenticationService.java:458)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search
> (InterceptorChain.java:1268)
>         at
> org.apache.directory.server.core.normalization.NormalizationService.search(
> NormalizationService.java:349)
>         at
> org.apache.directory.server.core.interceptor.InterceptorChain.search(
> InterceptorChain.java:880)
>         at
> org.apache.directory.server.core.partition.PartitionNexusProxy.search(
> PartitionNexusProxy.java:492)
>         at
> org.apache.directory.server.core.partition.PartitionNexusProxy.search(
> PartitionNexusProxy.java:434)
>         at
> org.apache.directory.server.core.jndi.ServerContext.doSearchOperation(
> ServerContext.java:249)
>         at org.apache.directory.server.core.jndi.ServerDirContext.search(
> ServerDirContext.java:642)
>         at
> org.apache.directory.server.ldap.support.SearchHandler.messageReceived(
> SearchHandler.java:376)
>         at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(
> DemuxingIoHandler.java:141)
>         at
> org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived
> (LdapProtocolProvider.java:428)
>         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:176)
>         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)
> AttributesImpl is not thread safe...not sure if it should be. Does not seem like the
ReplicationService is doing anything unexpected.

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