You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2014/01/22 15:44:20 UTC

[jira] [Commented] (AMQ-4985) java.util.ConcurrentModificationException while sending message

    [ https://issues.apache.org/jira/browse/AMQ-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878711#comment-13878711 ] 

Timothy Bish commented on AMQ-4985:
-----------------------------------

Do you have a test case?
Have you tried moving to a newer broker version?  At this point 5.6 is pretty ancient.  

> java.util.ConcurrentModificationException while sending message
> ---------------------------------------------------------------
>
>                 Key: AMQ-4985
>                 URL: https://issues.apache.org/jira/browse/AMQ-4985
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Message Store
>    Affects Versions: 5.6.0
>            Reporter: Sateesh Kapu
>
> Caused by: java.util.ConcurrentModificationException: null
> 	at java.util.ArrayList.writeObject(Unknown Source) ~[na:1.7.0_11]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_11]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_11]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_11]
> 	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[na:1.7.0_11]
> 	at java.io.ObjectOutputStream.writeObject(Unknown Source) ~[na:1.7.0_11]
> 	at org.apache.activemq.command.ActiveMQObjectMessage.storeContent(ActiveMQObjectMessage.java:106) ~[na:na]
> 	at org.apache.activemq.command.ActiveMQObjectMessage.setObject(ActiveMQObjectMessage.java:163) ~[na:na]
> 	at org.apache.activemq.ActiveMQSession.createObjectMessage(ActiveMQSession.java:381) ~[bundlefile:5.8.0]
> 	at org.apache.activemq.ra.ManagedSessionProxy.createObjectMessage(ManagedSessionProxy.java:220) ~[na:na]
> 	at org.springframework.jms.support.converter.SimpleMessageConverter.createMessageForSerializable(SimpleMessageConverter.java:166) ~[na:na]
> 	at org.springframework.jms.support.converter.SimpleMessageConverter.toMessage(SimpleMessageConverter.java:73) ~[na:na]
> 	at org.springframework.jms.core.JmsTemplate$6.createMessage(JmsTemplate.java:622) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:565) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate$4.doInJms(JmsTemplate.java:546) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:543) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:620) ~[bundlefile:3.0.6.RELEASE]
> 	at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.java:607) ~[bundlefile:3.0.6.RELEASE]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)