This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Restarted my server and got the following error in the log. Protections are not active after this came up.
22:46:12 [INFO] [Border Patrol] Enabling Border Patrol v0.4b22:46:12 [INFO] You have now enabled Border Patrol Version 0.4b Made by [calebbfmv, skore87]22:46:12 [SEVERE] Error occurred while enabling Border Patrol v0.4b (Is it up to date?)java.lang.NullPointerException at com.dpajd.ProtectionPlugin.Regions.Region.<init>(Region.java:51) at com.dpajd.ProtectionPlugin.Regions.Region.loadRegions(Region.java:370) at com.dpajd.ProtectionPlugin.Main.Main.onEnable(Main.java:146) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
If you don't mind, can you put your "regions/<user>.yml" file on a paste service and post the link here? What happened is somehow the world wasn't found from the region file.
Here are the files in the regions folder. There were only 4 in there. One was totally blank. I tried to delete it, but I still get the error.
http://pastebin.com/sdz78WDY
http://pastebin.com/9jrPTCNj
http://pastebin.com/DxvrznJ3
Ken
Your world name is "world1" ? Also, this only happens on first start right?
Yes, the world is world1. It has always been in that world. The plugin was working fine. Was testing it for a few days. Yesterday I stopped server and restarted. That's when the error came up. I have stopped and started a few times. Once it started without the error, but haven't been able to get it to work again. The only time I get the error is upon startup. I would assume that the regions are not loading at all when I get this error. I will test it tonight when I get home from work.
When that error happens you are basically naked of any protections from the plugin. What I believe to be the cause is that it is retrieving "world1" before it is actually available and thus causing a null pointer. I have added a delay to loading the regions on start-up and it will be included in the next update.
For now until that update if the error comes up you will want to call reload on the server.
<<reply 953003>>
I think you are correct. Now that you mention it, I had added some worlds in temporarily to get some builds from old maps. Then I removed them. Maybe multiverse changed the order of them loading. Right now it's working. I think delay will correct the problem. Thank you!
To post a comment, please login or register a new account.