java.util.ConcurrentModificationException

concurrent access to HashMap attempted by Thread[MessageListenerThreadPool : 0,5,main]

Solutions on the web73

  • via Apache's JIRA Issue Tracker by pawan bhole, 11 months ago
    concurrent access to HashMap attempted by Thread[MessageListenerThreadPool : 0,5,main]
  • concurrent access to HashMap attempted by Thread[Worker-0,5,main]
  • concurrent access to HashMap attempted by Thread\[xxxxxx xxx ThreadIndex = 0,5,main\]
  • Stack trace

    • java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[MessageListenerThreadPool : 0,5,main] at com.te.jpay.ejb.messagesreceiver.MessagesProcessorBean.onMessage(MessagesProcessorBean.java:62) at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapper.java:302) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63) at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:271) at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:240) at com.ibm.mq.jms.MQSession.run(MQSession.java:1691) at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:975) at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:957) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:667) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:634)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.