{"action":"created","issue":{"url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/2176","repository_url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials","labels_url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/2176/labels{/name}","comments_url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/2176/comments","events_url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/2176/events","html_url":"https://github.com/ForgeEssentials/ForgeEssentials/issues/2176","id":176232079,"number":2176,"title":"Crash when creating a Multiworld","user":{"login":"Diamssword","id":21200137,"avatar_url":"https://avatars.githubusercontent.com/u/21200137?v=3","gravatar_id":"","url":"https://api.github.com/users/Diamssword","html_url":"https://github.com/Diamssword","followers_url":"https://api.github.com/users/Diamssword/followers","following_url":"https://api.github.com/users/Diamssword/following{/other_user}","gists_url":"https://api.github.com/users/Diamssword/gists{/gist_id}","starred_url":"https://api.github.com/users/Diamssword/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diamssword/subscriptions","organizations_url":"https://api.github.com/users/Diamssword/orgs","repos_url":"https://api.github.com/users/Diamssword/repos","events_url":"https://api.github.com/users/Diamssword/events{/privacy}","received_events_url":"https://api.github.com/users/Diamssword/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/labels/needs-verification","name":"needs-verification","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-11T08:50:14Z","updated_at":"2016-09-17T03:00:40Z","closed_at":null,"body":"Hello, when I try to do /mw create, the server freeze a bit until the world is generated, sand me on the new world the crash:\r\n````\r\n---- Minecraft Crash Report ----\r\n\r\nWARNING: coremods are present:\r\nContact their authors BEFORE contacting forge\r\n\r\n// Uh... Did I do that?\r\n\r\nTime: 11/09/16 10:46\r\nDescription: Exception ticking world\r\n\r\njava.lang.NullPointerException: Exception ticking world\r\n\tat net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:225)\r\n\tat net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:690)\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(Unknown Source)\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-- Head --\r\nStacktrace:\r\n\tat net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:225)\r\n\r\n-- Affected level --\r\nDetails:\r\n\tLevel name: world\r\n\tAll players: 0 total; []\r\n\tChunk stats: ServerChunkCache: 0 Drop: 0\r\n\tLevel seed: 2766425225834290840\r\n\tLevel generator: ID 00 - default, ver 1. Features enabled: true\r\n\tLevel generator options: \r\n\tLevel spawn location: 258,00,64,00,213,00 - World: (258,64,213), Chunk: (at 2,4,5 in 16,13; contains blocks 256,0,208 to 271,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)\r\n\tLevel time: 25635 game time, 14310 day time\r\n\tLevel dimension: 0\r\n\tLevel storage version: 0x04ABD - Anvil\r\n\tLevel weather: Rain time: 115919 (now: false), thunder time: 142097 (now: false)\r\n\tLevel game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false\r\nStacktrace:\r\n\tat net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:690)\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(Unknown Source)\r\n\r\n-- System Details --\r\nDetails:\r\n\tMinecraft Version: 1.8.9\r\n\tOperating System: Windows 7 (amd64) version 6.1\r\n\tJava Version: 1.8.0_101, Oracle Corporation\r\n\tJava VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation\r\n\tMemory: 554095336 bytes (528 MB) / 780140544 bytes (744 MB) up to 1883242496 bytes (1796 MB)\r\n\tJVM Flags: 0 total; \r\n\tIntCache: cache: 11, tcache: 0, allocated: 13, tallocated: 95\r\n\tFML: MCP 9.19 Powered by Forge 11.15.1.1902 5 mods loaded, 5 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-1.8.9-universal.jar) \r\n\tUCHIJAAAA\tForge{11.15.1.1902} [Minecraft Forge] (forge-1.8.9-11.15.1.1902-1.8.9-universal.jar) \r\n\tUCHIJAAAA\tForgeEssentials{1.8.5} [Forge Essentials] (forgeessentials-1.8.9-1.8.5.101-server.jar) \r\n\tUCHIJAAAA\tworldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.8.9-6.1.1-SNAPSHOT-dist.jar) \r\n\tLoaded coremods (and transformers): \r\n\tForgeEssentials: Running ForgeEssentials 1.8.5.101 (bf0886e). Modules loaded: Afterlife, Backups, Chat, Commands, Economy, JScripting, Multiworld, Permissions, PlayerLogger, Protection, Remote, SignTools, Teleport, Tickets, WEIntegrationTools, WorldBorder, factions, mapper\r\n\tProfiler Position: N/A (disabled)\r\n\tPlayer Count: 0 / 20; []\r\n\tIs Modded: Definitely; Server brand changed to 'fml,forge'\r\n\tType: Dedicated Server (map_server.txt)\r\n````\r\n\r\nI have tried to gneerate a multiworld both with my other mods and whith ForgeEssentials only."},"comment":{"url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/comments/247745478","html_url":"https://github.com/ForgeEssentials/ForgeEssentials/issues/2176#issuecomment-247745478","issue_url":"https://api.github.com/repos/ForgeEssentials/ForgeEssentials/issues/2176","id":247745478,"user":{"login":"DomAmato","id":6936055,"avatar_url":"https://avatars.githubusercontent.com/u/6936055?v=3","gravatar_id":"","url":"https://api.github.com/users/DomAmato","html_url":"https://github.com/DomAmato","followers_url":"https://api.github.com/users/DomAmato/followers","following_url":"https://api.github.com/users/DomAmato/following{/other_user}","gists_url":"https://api.github.com/users/DomAmato/gists{/gist_id}","starred_url":"https://api.github.com/users/DomAmato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomAmato/subscriptions","organizations_url":"https://api.github.com/users/DomAmato/orgs","repos_url":"https://api.github.com/users/DomAmato/repos","events_url":"https://api.github.com/users/DomAmato/events{/privacy}","received_events_url":"https://api.github.com/users/DomAmato/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T03:00:40Z","updated_at":"2016-09-17T03:00:40Z","body":"Same here, you forgot to init the world server, even then it only creates clones of the over world so you need to fix both the init and the creation\r\n\r\nadd worldServer.init(); here\r\nhttps://github.com/ForgeEssentials/ForgeEssentials/blob/18/develop/src/main/java/com/forgeessentials/multiworld/MultiworldManager.java#L275\r\n\r\nand instead of this https://github.com/ForgeEssentials/ForgeEssentials/blob/18/develop/src/main/java/com/forgeessentials/multiworld/MultiworldManager.java#L271\r\n\r\n```\r\nWorldSettings settings = new WorldSettings(world.seed, mcServer.getGameType(), mcServer.canStructuresSpawn(), mcServer.isHardcore(), WorldType.parseWorldType(world.worldType));\r\n\r\nWorldInfo info = new WorldInfo(settings, world.name);\r\n\r\nWorldServer worldServer = new WorldServerMultiworld(mcServer, savehandler, info, world.dimensionId, overworld, mcServer.theProfiler, world);\r\n```\r\n\r\nit works for me when doing flat amplified etc "}}
{"actor":{"display_login":"DomAmato"}}