webbukkit / Dynmap-EssentialsX

Display warps and homes from Essentials on Dynmap's maps
18 stars 5 forks source link

NullPointerException in onEnable #5

Closed Programie closed 11 years ago

Programie commented 11 years ago

If I try to load the plugin on my CraftBukkit 1.6.2 server I get the following exception:

17:39:50 [INFO] [Dynmap-Essentials] Enabling Dynmap-Essentials v0.70 17:39:50 [SEVERE] Error occurred while enabling Dynmap-Essentials v0.70 (Is it up to date?) java.lang.NullPointerException at org.dynmap.essentials.DynmapEssentialsPlugin.info(DynmapEssentialsPlugin.java:246) at org.dynmap.essentials.DynmapEssentialsPlugin.onEnable(DynmapEssentialsPlugin.java:316) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) at me.jmgr2007.Reloader.Utils.enable(Utils.java:502) at me.jmgr2007.Reloader.ReloaderListener.onCommand(ReloaderListener.java:92) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:527) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchServerCommand(CraftServer.java:516) at net.minecraft.server.v1_6_R2.DedicatedServer.ar(DedicatedServer.java:275) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)

I'm using CraftBukkit 1.6.2-R0.2 with Spigot, dynmap 1.9 and Essentials Pre2.12.1.2.

Is that a common problem on 1.6.2? Maybe this.getLogger() always returns null in onLoad?

Programie commented 11 years ago

Found the problem, it was nothing with Dynmap-Essentials...