keepcalm / BukkitForge

The world's first __opensource__ coremod. Also a port of the Bukkit server API to MinecraftForge.
http://www.minecraftforge.net/forum/index.php/topic,3254.0.html
103 stars 60 forks source link

WorldBorder NullPointerException at isChunkInUse(CraftWorld.java:372) #596

Open williamoverstreet opened 11 years ago

williamoverstreet commented 11 years ago

tekkit lite 0.61, bukkitforge build 257, World Border v1.6.1 (no TreeCapitator) trying to use the fill option in worldborder causes the following issue.

wb overworld fill 2013-03-30 05:12:33 [INFO] [BukkitForge] Server issued server command: wborderoverworld fill 2013-03-30 05:12:33 [INFO] [STDOUT] World generation task is ready for world "overworld", padding the map out to 208 blocks beyond the border (default 208), and the task will try to generate up to 20 chunks per second (default 20). 2013-03-30 05:12:33 [INFO] [STDOUT] This process can take a very long time depending on the world's border size. Also, depending on the chunk processing rate, players will likely experience severe lag for the duration. 2013-03-30 05:12:33 [INFO] [STDOUT] You should now use wb fill confirm to start the process. 2013-03-30 05:12:33 [INFO] [STDOUT] You can cancel at any time with wb fill cancel, or pause/unpause with wb fill pause. wb fill confirm 2013-03-30 05:12:39 [INFO] [BukkitForge] Server issued server command: wborderfill confirm 2013-03-30 05:12:39 [INFO] [STDOUT] WorldBorder map generation task started. 2013-03-30 05:12:39 [WARNING] [BukkitForge] Task #8 for WorldBorder v1.6.1 generated an exception java.lang.NullPointerException at org.bukkit.craftbukkit.CraftWorld.isChunkInUse(CraftWorld.java:372) at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java:294) at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java:290) at com.wimbli.WorldBorder.WorldFillTask.run(WorldFillTask.java:205) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:346) at keepcalm.mods.bukkit.forgeHandler.SchedulerTickHandler.tickStart(SchedulerTickHandler.java:38) at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHandler.java:16) at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:120) at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:288) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:588) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849) wb fill cancel 2013-03-30 05:12:44 [INFO] [BukkitForge] Server issued server command: wborderfill cancel 2013-03-30 05:12:44 [INFO] [STDOUT] Cancelling the world map generation task. 2013-03-30 05:12:44 [INFO] [STDERR] org.bukkit.command.CommandException: Unhandled exception executing command 'wborder' in plugin WorldBorder v1.6.1 2013-03-30 05:12:44 [INFO] [STDERR] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 2013-03-30 05:12:44 [INFO] [STDERR] at keepcalm.mods.bukkit.forgeHandler.commands.CommandExecutor2CommandBase.b(CommandExecutor2CommandBase.java:105) 2013-03-30 05:12:44 [INFO] [STDERR] at keepcalm.mods.bukkit.nmsforge.CommandHandlerImpl.a(CommandHandlerImpl.java:92) 2013-03-30 05:12:44 [INFO] [STDERR] at x.a(CommandHandler.java:14) 2013-03-30 05:12:44 [INFO] [STDERR] at ho.al(DedicatedServer.java:308) 2013-03-30 05:12:44 [INFO] [STDERR] at ho.r(DedicatedServer.java:270) 2013-03-30 05:12:44 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 2013-03-30 05:12:44 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 2013-03-30 05:12:44 [INFO] [STDERR] at fy.run(SourceFile:849) 2013-03-30 05:12:44 [INFO] [STDERR] Caused by: java.lang.NullPointerException 2013-03-30 05:12:44 [INFO] [STDERR] at org.bukkit.craftbukkit.CraftWorld.isChunkInUse(CraftWorld.java:372) 2013-03-30 05:12:44 [INFO] [STDERR] at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java:294) 2013-03-30 05:12:44 [INFO] [STDERR] at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java:290) 2013-03-30 05:12:44 [INFO] [STDERR] at com.wimbli.WorldBorder.WorldFillTask.stop(WorldFillTask.java:323) 2013-03-30 05:12:44 [INFO] [STDERR] at com.wimbli.WorldBorder.WorldFillTask.cancel(WorldFillTask.java:304) 2013-03-30 05:12:44 [INFO] [STDERR] at com.wimbli.WorldBorder.Config.StopFillTask(Config.java:270) 2013-03-30 05:12:44 [INFO] [STDERR] at com.wimbli.WorldBorder.WBCommand.cmdFill(WBCommand.java:749) 2013-03-30 05:12:44 [INFO] [STDERR] at com.wimbli.WorldBorder.WBCommand.onCommand(WBCommand.java:503) 2013-03-30 05:12:44 [INFO] [STDERR] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 2013-03-30 05:12:44 [INFO] [STDERR] ... 8 more