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 EvilOlaf
, 1 year agovia GitHub by mibby
, 2 years agovia GitHub by jeroenvs
, 2 years agovia Stack Overflow by Jared
, 2 years agovia Stack Overflow by Storm Asdg
, 2 years agovia GitHub by allfro
, 1 year agojava.util.ConcurrentModificationException:
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at org.yaml.snakeyaml.serializer.Serializer.anchorNode(Serializer.java:142)
at org.yaml.snakeyaml.serializer.Serializer.anchorNode(Serializer.java:146)
at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:108)
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:243)
at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:206)
at org.yaml.snakeyaml.Yaml.dump(Yaml.java:181)
at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:40)
at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:103)
at me.NoChance.PvPManager.Managers.ConfigManager$2.run(ConfigManager.java:144)
at java.lang.Thread.run(Thread.java:745)