OpenWarp

21.7k Downloads

PLAYER_JOIN NullPointerException errors at user login

Opened this issue ยท 2 comments

commented

Running git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks and OpenWarp-1.1.

At user login, OpenWarp usually generates the following errors (not visible to user) --

2011-11-09 08:07:00 [SEVERE] Could not pass event PLAYER_JOIN to OpenWarp
java.lang.NullPointerException
at com.lithium3141.OpenWarp.Warp.parseConfiguration(Warp.java:145)
at com.lithium3141.OpenWarp.Warp.(Warp.java:114)
at com.lithium3141.OpenWarp.config.OWConfigurationManager.loadWarps(OWConfigurationManager.java:176)
at com.lithium3141.OpenWarp.config.OWPlayerConfiguration.load(OWPlayerConfiguration.java:122)
at com.lithium3141.OpenWarp.config.OWConfigurationManager.registerPlayerName(OWConfigurationManager.java:193)
at com.lithium3141.OpenWarp.listeners.OWPlayerListener.onPlayerJoin(OWPlayerListener.java:38)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

Thanks for the great plugin. The errors don't seem to cause any problems, but wanted to pass this along.

commented

I'm going to chalk this up to you running build 1317 - there's a known bug in that build's configuration handling around null items that causes a lot of trouble. Upgrade to >=1337, and reopen this issue if you still have trouble.

commented

I'm running git-Bukkit-1.8.1-R4-17-g04a14f7-b1493jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT) now and haven't had any issues since. Thanks for looking into this; all is well now. Keep up the great work, the users love the plugin.