Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConcurrentModificationException on Economy layer (UCS) #90

Open
joserobjr opened this issue Nov 14, 2016 · 0 comments
Open

ConcurrentModificationException on Economy layer (UCS) #90

joserobjr opened this issue Nov 14, 2016 · 0 comments

Comments

@joserobjr
Copy link
Member

[15:07:23] [Server thread/ERROR]: A sync task threw an throwable on execution!
java.util.ConcurrentModificationException
        at br.com.gamemods.universalcoinsserver.api.UniversalCoinsServerAPI.takeCoins(UniversalCoinsServerAPI.java:160) ~[UniversalCoinsServerAPI.class:?]
        at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy.lambda$take$11(UniversalCoinsServerEconomy.java:292) ~[UniversalCoinsServerEconomy.class:?]
        at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy$$Lambda$535/2104696765.call(Unknown Source) ~[?:?]
        at br.com.gamemods.minecity.forge.base.MineCityForge.lambda$callSyncMethod$12(MineCityForge.java:396) [MineCityForge.class:?]
        at br.com.gamemods.minecity.forge.base.MineCityForge$$Lambda$482/1516613423.call(Unknown Source) [MineCityForge.class:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45]
        at br.com.gamemods.minecity.forge.base.Task.execute(Task.java:18) [Task.class:?]
        at br.com.gamemods.minecity.forge.base.MineCityForge.onServerTick(MineCityForge.java:373) [MineCityForge.class:?]
        at br.com.gamemods.minecity.forge.mc_1_7_10.listeners.SevenTickListener.onServerTick(SevenTickListener.java:32) [SevenTickListener.class:?]
        at cpw.mods.fml.common.eventhandler.ASMEventHandler_76_SevenTickListener_onServerTick_ServerTickEvent.invoke(.dynamic) [?:1.7.10-1614.58]
        at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) [ASMEventHandler.class:1.7.10-1614.58]
        at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) [EventBus.class:1.7.10-1614.58]
        at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:265) [FMLCommonHandler.class:1.7.10-1614.58]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:829) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
[15:07:23] [pool-6-thread-843/WARN]: java.util.concurrent.ExecutionException: java.util.ConcurrentModificationException
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.FutureTask.get(FutureTask.java:206)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy.take(UniversalCoinsServerEconomy.java:293)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy.take(UniversalCoinsServerEconomy.java:323)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.economy.EconomyProxy.charge(EconomyProxy.java:107)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.commands.CityCommand.claim(CityCommand.java:360)
[15:07:23] [pool-6-thread-843/WARN]:    at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
[15:07:23] [pool-6-thread-843/WARN]:    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[15:07:23] [pool-6-thread-843/WARN]:    at java.lang.reflect.Method.invoke(Method.java:497)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandTree.lambda$registerCommand$4(CommandTree.java:124)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandTree$$Lambda$371/1995609940.execute(Unknown Source)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandFunction.apply(CommandFunction.java:16)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandFunction.run(CommandFunction.java:41)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandTree$Result.run(CommandTree.java:1058)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandTree.lambda$invoke$1(CommandTree.java:72)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.api.command.CommandTree$$Lambda$529/1142626202.run(Unknown Source)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[15:07:23] [pool-6-thread-843/WARN]:    at java.lang.Thread.run(Thread.java:745)
[15:07:23] [pool-6-thread-843/WARN]: Caused by: java.util.ConcurrentModificationException
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.universalcoinsserver.api.UniversalCoinsServerAPI.takeCoins(UniversalCoinsServerAPI.java:160)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy.lambda$take$11(UniversalCoinsServerEconomy.java:292)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.mc_1_7_10.economy.ucs.UniversalCoinsServerEconomy$$Lambda$535/2104696765.call(Unknown Source)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.base.MineCityForge.lambda$callSyncMethod$12(MineCityForge.java:396)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.base.MineCityForge$$Lambda$482/1516613423.call(Unknown Source)
[15:07:23] [pool-6-thread-843/WARN]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.base.Task.execute(Task.java:18)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.base.MineCityForge.onServerTick(MineCityForge.java:373)
[15:07:23] [pool-6-thread-843/WARN]:    at br.com.gamemods.minecity.forge.mc_1_7_10.listeners.SevenTickListener.onServerTick(SevenTickListener.java:32)
[15:07:23] [pool-6-thread-843/WARN]:    at cpw.mods.fml.common.eventhandler.ASMEventHandler_76_SevenTickListener_onServerTick_ServerTickEvent.invoke(.dynamic)
[15:07:23] [pool-6-thread-843/WARN]:    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
[15:07:23] [pool-6-thread-843/WARN]:    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
[15:07:23] [pool-6-thread-843/WARN]:    at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:265)
[15:07:23] [pool-6-thread-843/WARN]:    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:829)
[15:07:23] [pool-6-thread-843/WARN]:    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:693)
[15:07:23] [pool-6-thread-843/WARN]:    ... 1 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant