WorldGuard

WorldGuard

8M Downloads

Error when creating regions

LadyCailinBot opened this issue ยท 7 comments

commented

WORLDGUARD-2739 - Reported by James.Lascody

Not sure what's wrong, I can't make any new protections. All it says is "An error occurred. See console."

Error:

24.05 22:05:30 [Server] SEVERE ... 20 more
24.05 22:05:30 [Server] SEVERE at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533)
24.05 22:05:30 [Server] SEVERE at java.lang.reflect.Method.invoke(Method.java:601)
24.05 22:05:30 [Server] SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
24.05 22:05:30 [Server] SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
24.05 22:05:30 [Server] SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.bukkit.commands.RegionCommands.define(RegionCommands.java:133)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.managers.RegionManager.save(RegionManager.java:69)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.databases.AbstractProtectionDatabase.save(AbstractProtectionDatabase.java:43)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.databases.YAMLDatabase.save(YAMLDatabase.java:240)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.databases.YAMLDatabase.getFlagData(YAMLDatabase.java:268)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.databases.YAMLDatabase.addMarshalledFlag(YAMLDatabase.java:280)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:40)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:132)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldedit.bukkit.BukkitWorld.getName(BukkitWorld.java:267)
24.05 22:05:30 [Server] SEVERE Caused by: java.lang.NullPointerException
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.Packet3Chat.handle(Packet3Chat.java:44)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:840)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.PlayerConnection.chat(PlayerConnection.java:883)
24.05 22:05:30 [Server] SEVERE at net.minecraft.server.v1_5_R3.PlayerConnection.handleCommand(PlayerConnection.java:965)
24.05 22:05:30 [Server] SEVERE at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:523)
24.05 22:05:30 [Server] SEVERE at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
24.05 22:05:30 [Server] SEVERE at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:52)
24.05 22:05:30 [Server] SEVERE at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:219)
24.05 22:05:30 [Server] SEVERE at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409)
24.05 22:05:30 [Server] SEVERE at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475)
24.05 22:05:30 [Server] SEVERE at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520)
24.05 22:05:30 [Server] SEVERE at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:543)
24.05 22:05:30 [Server] SEVERE com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NullPointerException

commented

Comment by wizjany

the error says that the world is null...did you maybe unload a world or something?

commented

Comment by James.Lascody

No, I haven't. I did rename a world, would that do the same thing?

commented

Comment by wizjany

probably...go check your regions.yml for instances of the old world name?

commented

Comment by James.Lascody

Okay, I'll check that.

commented

Comment by James.Lascody

I didn't see anything with the old name.

commented

Comment by wizjany

can you pastebin your regions files and give some reproduction steps, including world names?

commented

Comment by James.Lascody

I fixed it, I just deleted /worlds and it works now. I'm just glad I only had a few protections.