{"action":"created","issue":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/110","repository_url":"https://api.github.com/repos/Minecolonies/minecolonies","labels_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/110/comments","events_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/110/events","html_url":"https://github.com/Minecolonies/minecolonies/issues/110","id":175560851,"number":110,"title":"Crash on Building placed","user":{"login":"Kostronor","id":644950,"avatar_url":"https://avatars.githubusercontent.com/u/644950?v=3","gravatar_id":"","url":"https://api.github.com/users/Kostronor","html_url":"https://github.com/Kostronor","followers_url":"https://api.github.com/users/Kostronor/followers","following_url":"https://api.github.com/users/Kostronor/following{/other_user}","gists_url":"https://api.github.com/users/Kostronor/gists{/gist_id}","starred_url":"https://api.github.com/users/Kostronor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kostronor/subscriptions","organizations_url":"https://api.github.com/users/Kostronor/orgs","repos_url":"https://api.github.com/users/Kostronor/repos","events_url":"https://api.github.com/users/Kostronor/events{/privacy}","received_events_url":"https://api.github.com/users/Kostronor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Minecolonies/minecolonies/labels/ai","name":"ai","color":"0052cc"},{"url":"https://api.github.com/repos/Minecolonies/minecolonies/labels/bug","name":"bug","color":"ee0701"},{"url":"https://api.github.com/repos/Minecolonies/minecolonies/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":{"login":"Raycoms","id":6438347,"avatar_url":"https://avatars.githubusercontent.com/u/6438347?v=3","gravatar_id":"","url":"https://api.github.com/users/Raycoms","html_url":"https://github.com/Raycoms","followers_url":"https://api.github.com/users/Raycoms/followers","following_url":"https://api.github.com/users/Raycoms/following{/other_user}","gists_url":"https://api.github.com/users/Raycoms/gists{/gist_id}","starred_url":"https://api.github.com/users/Raycoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raycoms/subscriptions","organizations_url":"https://api.github.com/users/Raycoms/orgs","repos_url":"https://api.github.com/users/Raycoms/repos","events_url":"https://api.github.com/users/Raycoms/events{/privacy}","received_events_url":"https://api.github.com/users/Raycoms/received_events","type":"User","site_admin":false},"assignees":[{"login":"Raycoms","id":6438347,"avatar_url":"https://avatars.githubusercontent.com/u/6438347?v=3","gravatar_id":"","url":"https://api.github.com/users/Raycoms","html_url":"https://github.com/Raycoms","followers_url":"https://api.github.com/users/Raycoms/followers","following_url":"https://api.github.com/users/Raycoms/following{/other_user}","gists_url":"https://api.github.com/users/Raycoms/gists{/gist_id}","starred_url":"https://api.github.com/users/Raycoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raycoms/subscriptions","organizations_url":"https://api.github.com/users/Raycoms/orgs","repos_url":"https://api.github.com/users/Raycoms/repos","events_url":"https://api.github.com/users/Raycoms/events{/privacy}","received_events_url":"https://api.github.com/users/Raycoms/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-07T17:27:22Z","updated_at":"2016-09-16T00:40:30Z","closed_at":null,"body":"### Minecolonies version\r\nv714\r\n### Crashlog\r\n```\r\n---- Minecraft Crash Report ----\r\n\r\nWARNING: coremods are present:\r\n  CCLCorePlugin (CodeChickenLib-1.8-1.1.2.115-universal.jar)\r\n  NowWithRendering (hopperducts-mc1.8.8-1.4.6.jar)\r\n  BCModPlugin (zz-backpacks 1.8.9 - 3.1.0.jar)\r\n  CoreMod (TickProfiler-1.8.9.jenkins.37.jar)\r\n  AppleCore (AppleCore-mc1.8.9-1.3.2.jar)\r\n  FldLoadingPlugin (FastLeafDecay-1.8-1.6.jar)\r\n  FMLPlugin (InventoryTweaks-1.60-40.jar)\r\nContact their authors BEFORE contacting forge\r\n\r\n// I blame Dinnerbone.\r\n\r\nTime: 07/09/16 19:24\r\nDescription: Exception in server tick loop\r\n\r\njava.util.ConcurrentModificationException\r\n\tat java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)\r\n\tat java.util.HashMap$ValueIterator.next(HashMap.java:1466)\r\n\tat com.minecolonies.colony.Colony.cleanUpBuildings(Colony.java:765)\r\n\tat com.minecolonies.colony.Colony.onWorldTick(Colony.java:721)\r\n\tat com.minecolonies.colony.ColonyManager.lambda$onWorldTick$59(ColonyManager.java:500)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)\r\n\tat java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1620)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n\tat java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)\r\n\tat com.minecolonies.colony.ColonyManager.onWorldTick(ColonyManager.java:500)\r\n\tat com.minecolonies.event.FMLEventHandler.onWorldTick(FMLEventHandler.java:47)\r\n\tat net.minecraftforge.fml.common.eventhandler.ASMEventHandler_55_FMLEventHandler_onWorldTick_WorldTickEvent.invoke(.dynamic)\r\n\tat net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49)\r\n\tat net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140)\r\n\tat net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:274)\r\n\tat net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:686)\r\n\tat net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344)\r\n\tat net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605)\r\n\tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\n\r\nA detailed walkthrough of the error, its code path and all known details is as follows:\r\n---------------------------------------------------------------------------------------\r\n\r\n-- System Details --\r\nDetails:\r\n\tMinecraft Version: 1.8.9\r\n\tOperating System: Linux (amd64) version 3.14.32-xxxx-std-ipv6-64-hz1000\r\n\tJava Version: 1.8.0_92, Oracle Corporation\r\n\tJava VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation\r\n\tMemory: 143095768 bytes (136 MB) / 1175932928 bytes (1121 MB) up to 4151836672 bytes (3959 MB)\r\n\tJVM Flags: 20 total; -Xincgc -XX:+UseParNewGC -XX:MaxPermSize=256M -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -Xnoclassgc -Xoss4M -Xss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -Xmx4096M -Xms512M\r\n\tIntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94\r\n\tFML: MCP 9.19 Powered by Forge 11.15.1.1855 33 mods loaded, 33 mods active\r\n\tStates: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored\r\n\tUCHIJAAAA\tmcp{9.19} [Minecraft Coder Pack] (minecraft.jar) \r\n\tUCHIJAAAA\tFML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.1902.jar) \r\n\tUCHIJAAAA\tForge{11.15.1.1855} [Minecraft Forge] (forge-1.8.9-11.15.1.1902.jar) \r\n\tUCHIJAAAA\tbackpacks16840{3.1.0} [Backpacks!] (zz-backpacks 1.8.9 - 3.1.0.jar) \r\n\tUCHIJAAAA\tJEI{2.28.18.186} [Just Enough Items] (jei_1.8.9-2.28.18.186.jar) \r\n\tUCHIJAAAA\tAppleCore{1.3.2} [AppleCore] (AppleCore-mc1.8.9-1.3.2.jar) \r\n\tUCHIJAAAA\tBaubles{1.1.3.0} [Baubles] (Baubles-1.8.9-1.1.3.0.jar) \r\n\tUCHIJAAAA\tBaublesHud{2.2.1} [Baubles-Hud] (BaublesHud-2.2.1.jar) \r\n\tUCHIJAAAA\tBetterAchievements{0.1.1} [Better Achievements] (BetterAchievements-1.8.9-0.1.1.jar) \r\n\tUCHIJAAAA\tChameleon{1.8.9-1.1.5} [Chameleon] (Chameleon-1.8.9-1.1.5.jar) \r\n\tUCHIJAAAA\tk4lib{1.8.9-1.0.18} [K4Lib] (k4lib-1.8.9-1.0.18-universal.jar) \r\n\tUCHIJAAAA\tcolorchat{1.8.8-1.0.2} [ColorChat] (colorchat-1.8.8-1.0.2-universal.jar) \r\n\tUCHIJAAAA\tEnjinMinecraftPlugin{2.4.9-1.8} [EnjinMinecraftPlugin] (EnjinMinecraftForgePlugin-1.8.9 (1).jar) \r\n\tUCHIJAAAA\tfastleafdecay{1.6} [Fast Leaf Decay] (FastLeafDecay-1.8-1.6.jar) \r\n\tUCHIJAAAA\thopperducts{1.4.6} [Hopper Ducts] (hopperducts-mc1.8.8-1.4.6.jar) \r\n\tUCHIJAAAA\tinventorytweaks{1.60-40-e06e29a} [Inventory Tweaks] (InventoryTweaks-1.60-40.jar) \r\n\tUCHIJAAAA\tIronChest{6.0.125.770} [Iron Chest] (ironchest-1.8.9-6.0.125.770.jar) \r\n\tUCHIJAAAA\tjourneymap{1.8.9-5.2.4} [JourneyMap] (journeymap-1.8.9-5.2.4-unlimited.jar) \r\n\tUCHIJAAAA\tmantle{1.8.9-0.9.2.jenkins102} [Mantle] (Mantle-1.8.9-0.9.2.jar) \r\n\tUCHIJAAAA\tminecolonies{1.8.9-0.4.714} [MineColonies] (minecolonies-universal-1.8.9-0.4.714.jar) \r\n\tUCHIJAAAA\tMorpheus{1.8.9-2.0.58} [Morpheus] (Morpheus-1.8.9-2.0.58.jar) \r\n\tUCHIJAAAA\tRoguelike{1.5.0} [Roguelike Dungeons] (RoguelikeDungeons-1.8.9-1.5.0.jar) \r\n\tUCHIJAAAA\tslackmc{0.6} [SlackMC] (SlackMC-1.8.9-0.7.jar) \r\n\tUCHIJAAAA\tStorageDrawers{1.8.9-2.7.0} [Storage Drawers] (StorageDrawers-1.8.9-2.7.0.jar) \r\n\tUCHIJAAAA\ttconstruct{1.8.9-2.2.1.jenkins1005} [Tinkers' Construct] (TConstruct-1.8.9-2.2.1.jar) \r\n\tUCHIJAAAA\tTickProfiler{1.8.9.jenkins.37} [TickProfiler] (TickProfiler-1.8.9.jenkins.37.jar) \r\n\tUCHIJAAAA\tVeinMiner{0.34.1_1.8.9-9901a41} [Vein Miner] (VeinMiner-0.34.1-1.8.9r552+9901a41.jar) \r\n\tUCHIJAAAA\tVeinMinerModSupport{0.34.1_1.8.9-9901a41} [Mod Support] (VeinMiner-0.34.1-1.8.9r552+9901a41.jar) \r\n\tUCHIJAAAA\tWaila{1.6.0} [Waila] (Waila-1.6.0-B3_1.8.8.jar) \r\n\tUCHIJAAAA\tWailaHarvestability{1.1.7} [Waila Harvestability] (WailaHarvestability-mc1.8.x-1.1.7.jar) \r\n\tUCHIJAAAA\twawla{1.1.4.168} [What Are We Looking At] (Wawla-1.8.9-1.1.4.171.jar) \r\n\tUCHIJAAAA\txprings{1.2.0} [Experience Rings] (xprings-1.2.0.jar) \r\n\tUCHIJAAAA\tdenseores{1.0} [denseores] (denseores-1.8-alpha-2.0.3.jar) \r\n\tLoaded coremods (and transformers): \r\nCCLCorePlugin (CodeChickenLib-1.8-1.1.2.115-universal.jar)\r\n  codechicken.lib.asm.ClassHeirachyManager\r\n  codechicken.lib.asm.RenderHookTransformer\r\nNowWithRendering (hopperducts-mc1.8.8-1.4.6.jar)\r\n  net.fybertech.nwr.NowWithRendering\r\nBCModPlugin (zz-backpacks 1.8.9 - 3.1.0.jar)\r\n  brad16840.common.asm.ClassTransformer\r\nCoreMod (TickProfiler-1.8.9.jenkins.37.jar)\r\n  \r\nAppleCore (AppleCore-mc1.8.9-1.3.2.jar)\r\n  squeek.applecore.asm.TransformerModuleHandler\r\nFldLoadingPlugin (FastLeafDecay-1.8-1.6.jar)\r\n  com.olafski.fastleafdecay.FldTransformer\r\nFMLPlugin (InventoryTweaks-1.60-40.jar)\r\n  invtweaks.forge.asm.ContainerTransformer\r\n\tPulsar/tconstruct loaded Pulses: \r\n\t\t- TinkerCommons (Enabled/Forced)\r\n\t\t- TinkerWorld (Enabled/Not Forced)\r\n\t\t- TinkerTools (Enabled/Not Forced)\r\n\t\t- TinkerSmeltery (Enabled/Not Forced)\r\n\t\t- TinkerGadgets (Enabled/Not Forced)\r\n\t\t- TinkerOredict (Enabled/Forced)\r\n\t\t- TinkerIntegration (Enabled/Forced)\r\n\t\t- TinkerFluids (Enabled/Forced)\r\n\t\t- TinkerMaterials (Enabled/Forced)\r\n\r\n\tProfiler Position: N/A (disabled)\r\n\tPlayer Count: 4 / 999; [EntityPlayerMP['Kostronor'/269, l='world', x=76.22, y=72.00, z=252.08], EntityPlayerMP['SBOfficial'/39701, l='world', x=9.14, y=69.00, z=261.21], EntityPlayerMP['david08150815'/85073, l='world', x=6674.29, y=63.00, z=5043.66], EntityPlayerMP['Warrof'/109432, l='world', x=3976.56, y=53.00, z=4362.49]]\r\n\tIs Modded: Definitely; Server brand changed to 'fml,forge'\r\n\tType: Dedicated Server (map_server.txt)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/comments/247492440","html_url":"https://github.com/Minecolonies/minecolonies/issues/110#issuecomment-247492440","issue_url":"https://api.github.com/repos/Minecolonies/minecolonies/issues/110","id":247492440,"user":{"login":"Raycoms","id":6438347,"avatar_url":"https://avatars.githubusercontent.com/u/6438347?v=3","gravatar_id":"","url":"https://api.github.com/users/Raycoms","html_url":"https://github.com/Raycoms","followers_url":"https://api.github.com/users/Raycoms/followers","following_url":"https://api.github.com/users/Raycoms/following{/other_user}","gists_url":"https://api.github.com/users/Raycoms/gists{/gist_id}","starred_url":"https://api.github.com/users/Raycoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raycoms/subscriptions","organizations_url":"https://api.github.com/users/Raycoms/orgs","repos_url":"https://api.github.com/users/Raycoms/repos","events_url":"https://api.github.com/users/Raycoms/events{/privacy}","received_events_url":"https://api.github.com/users/Raycoms/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T00:40:30Z","updated_at":"2016-09-16T00:40:30Z","body":"I guess the placed block was the townHall chest. A new colony was created.\r\n\r\ncolonies.values().stream()\r\n          .filter(c -> c.getDimension() == event.world.provider.getDimension())\r\n          .forEach(c -> c.onWorldTick(event));\r\n\r\nand we iterate through the list.\r\nWe should take care iterating through colonies, entities, buildings. Always should copy the list first."}}
{"actor":{"display_login":"Raycoms"}}