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

[Plugin] SimpleRegionMarket works but throws error on load. #548

Open eagl3s1ght opened 11 years ago

eagl3s1ght commented 11 years ago

Bukkitforge v252

02-28 06:59:14 [SEVERE] [BukkitForge] Error occurred while enabling SimpleRegionMarket v3.2.0 (Is it up to date?) java.lang.NullPointerException at com.sk89q.worldguard.bukkit.WorldConfiguration.getBoolean(WorldConfiguration.java:199) at com.sk89q.worldguard.bukkit.WorldConfiguration.loadConfiguration(WorldConfiguration.java:301) at com.sk89q.worldguard.bukkit.WorldConfiguration.<init>(WorldConfiguration.java:191) at com.sk89q.worldguard.bukkit.ConfigurationManager.get(ConfigurationManager.java:202) at com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(WorldGuardPlugin.java:828) at me.ienze.SimpleRegionMarket.WorldGuardManager.getProtectedRegion(WorldGuardManager.java:57) at me.ienze.SimpleRegionMarket.TokenManager.checkRegions(TokenManager.java:236) at me.ienze.SimpleRegionMarket.SimpleRegionMarket.onEnable(SimpleRegionMarket.java:108) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:811) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:795) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:214) at keepcalm.mods.bukkit.asm.BukkitStarter.run(BukkitStarter.java:46) at java.lang.Thread.run(Unknown Source)

SpoonsJTD commented 11 years ago

This appears to be a plugin issue where it can't get all of its configuration. Check to see if there's a config folder and/or file and that the permissions are set so the plugin can access.

eagl3s1ght commented 11 years ago

It's probably related to the World naming. My guess is that this plugin tries to load WorldGuard regions, but is unable to because of their naming? The SimpleRegionMarket config files themselves do seem to work fine.

Should I contact the plugin author to try give some error messages when this happens?

SpoonsJTD commented 11 years ago

Ah, that makes sense. Maybe the author could check WorldGuard for aliases to figure out where the world folders are?

eagl3s1ght commented 11 years ago

I have asked the authors about fixing this publicly via their Bukkit Plugin page.