[slf4j-dev] [Bug 224] BasicMDCAdapter.getCopyOfContextMap can lead to ConcurrentModificationException
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Thu Jul 7 17:40:38 CEST 2011
http://bugzilla.slf4j.org/show_bug.cgi?id=224
art.home at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |art.home at gmail.com
--- Comment #1 from art.home at gmail.com 2011-07-07 17:40:37 CEST ---
I have also experienced this, here's the [very similar] stack trace:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at java.util.HashMap.putAllForCreate(Unknown Source)
at java.util.HashMap.<init>(Unknown Source)
at
org.slf4j.helpers.BasicMDCAdapter.getCopyOfContextMap(BasicMDCAdapter.java:130)
at org.slf4j.MDC.getCopyOfContextMap(MDC.java:182)
at
org.apache.activemq.util.MDCHelper.getCopyOfContextMap(MDCHelper.java:30)
at
org.apache.activemq.broker.TransportConnection.stopAsync(TransportConnection.java:946)
at
org.apache.activemq.broker.TransportConnection.processShutdown(TransportConnection.java:353)
at org.apache.activemq.command.ShutdownInfo.visit(ShutdownInfo.java:35)
at
org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
at
org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list