-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
ChestShops
Spigot git-Spigot-c3c767f-33d5de3
On server start-up / restarts, there is a chance that ChestShops does not enable and instead outputs a ConcurrentModificationException error. Restarting the server again usually fixes the issue.
ChestShops developer states it seems to be an issue within Spigot, as "Bukkit.getOfflinePlayer()" should be safe to use.
[00:00:17] [Server thread/INFO]: [ChestShop] Enabling ChestShop v3.8.3
[00:00:17] [Server thread/ERROR]: Error occurred while enabling ChestShop v3.8.3 (Is it up to date?)
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966) ~[?:1.8.0_40]
at java.util.LinkedList$ListItr.next(LinkedList.java:888) ~[?:1.8.0_40]
at com.google.common.collect.Iterators$9.next(Iterators.java:939) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at com.google.common.collect.Iterators.addAll(Iterators.java:357) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at com.google.common.collect.Lists.newArrayList(Lists.java:147) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.UserCache.a(UserCache.java:213) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.UserCache.c(UserCache.java:194) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.UserCache.getProfile(UserCache.java:123) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.getOfflinePlayer(CraftServer.java:1290) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:741) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at com.Acrobot.ChestShop.UUIDs.NameManager.load(NameManager.java:197) ~[?:?]
at com.Acrobot.ChestShop.ChestShop.onEnable(ChestShop.java:105) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_40]