Concurrent modification for lastmsg data lists #62

Closed
opened 2018-06-25 23:21:20 +00:00 by NorbiPeti · 0 comments
NorbiPeti commented 2018-06-25 23:21:20 +00:00 (Migrated from github.com)

Description: Concurrent modification exception occurs when disabling mcchat while a message is being processed for example.

Steps to Reproduce:

  1. Turn off mcchat
  2. Have someone say something in chat (at the same time...)

Result: ConcurrentModificationException

java.util.ConcurrentModificationException
    at buttondevteam.discordplugin.listeners.MCChatListener.processMCToDiscord(MCChatListener.java:136)
    at buttondevteam.discordplugin.listeners.MCChatListener.lambda$onMCChat$0(MCChatListener.java:62)

Expected Result: No error

**Description:** Concurrent modification exception occurs when disabling mcchat while a message is being processed for example. **Steps to Reproduce:** 1. Turn off mcchat 2. Have someone say something in chat (at the same time...) **Result:** ConcurrentModificationException ``` java.util.ConcurrentModificationException at buttondevteam.discordplugin.listeners.MCChatListener.processMCToDiscord(MCChatListener.java:136) at buttondevteam.discordplugin.listeners.MCChatListener.lambda$onMCChat$0(MCChatListener.java:62) ``` **Expected Result:** No error
Sign in to join this conversation.
No description provided.