Multiverse/Multiverse-Core — Issue #374: NPE on Portal teleport
Author: Silthus
Created: 2012-01-04 21:29:17+00:00
State: open

Seems completly random but sometimes this error gets fired and the complete server crashes:

````22:25:45 [SEVERE] Could not pass event PLAYER_PORTAL to Multiverse-Portals
java.lang.NullPointerException
at com.onarandombox.MultiverseCore.utils.SafeTTeleporter.findPortalBlockNextTo(SafeTTeleporter.java:289)
at com.onarandombox.MultiversePortals.listeners.MVPPlayerListener.onPlayerPortal(MVPPlayerListener.java:247)
at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:328)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:337)
at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:336)
at net.minecraft.server.BlockEnderPortal.a(SourceFile:55)
at org.getspout.spout.block.mcblock.CustomContainer.a(CustomContainer.java:321)
at net.minecraft.server.Entity.move(Entity.java:613)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:332)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:679)
at net.minecraft.server.Packet10Flying.a(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)````