java.util.ConcurrentModificationException: This exception has no message.
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
Causes : The Collection is internally modified, while a thread is iterating over it. OR after the creation of an iterator, the Collection is internally modified by any method other than the iterator’s own methods for removal and addition.
In order to avoid more than one threads accessing or modifying the same object, you can synchronize them over the object, in order to allow only one thread to manipulate it over time.
Solutions on the web
via GitHub by TheMaskedMonkey
, 1 year agovia Stack Overflow by Unknown author, 2 years ago
via Stack Overflow by Jared
, 2 years agovia GitHub by ForceUpdate1
, 2 years agovia Stack Overflow by Mike Rother
, 1 month agovia GitHub by josemduarte
, 2 months agojava.util.ConcurrentModificationException:
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1042)
at net.dv8tion.jda.utils.PermissionUtil.getEffectivePermission(PermissionUtil.java:215)
at net.dv8tion.jda.utils.PermissionUtil.getEffectivePermission(PermissionUtil.java:240)
at net.dv8tion.jda.utils.PermissionUtil.checkPermission(PermissionUtil.java:234)
at net.dv8tion.jda.utils.PermissionUtil.checkPermission(PermissionUtil.java:129)
at net.dv8tion.jda.entities.impl.TextChannelImpl.checkPermission(TextChannelImpl.java:289)
at net.dv8tion.jda.entities.impl.TextChannelImpl.sendMessageAsync(TextChannelImpl.java:208)
at net.dv8tion.jda.entities.impl.TextChannelImpl.sendMessageAsync(TextChannelImpl.java:200)
at com.erisbot.listeners.OtherListener.onReady(OtherListener.java:23)
at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:149)
at net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
at net.dv8tion.jda.requests.WebSocketClient.ready(WebSocketClient.java:120)
at net.dv8tion.jda.handle.ReadyHandler.finishReady(ReadyHandler.java:137)
at net.dv8tion.jda.handle.ReadyHandler.onGuildInit(ReadyHandler.java:122)
at net.dv8tion.jda.handle.GuildJoinHandler.lambda$handleInternally$45(GuildJoinHandler.java:44)
at net.dv8tion.jda.handle.EntityBuilder.createGuildFirstPass(EntityBuilder.java:213)
at net.dv8tion.jda.handle.GuildJoinHandler.handleInternally(GuildJoinHandler.java:38)
at net.dv8tion.jda.handle.SocketHandler.handle(SocketHandler.java:38)
at net.dv8tion.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:607)
at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:315)
at net.dv8tion.jda.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:680)
at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:243)
at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:937)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:696)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)