{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/75f3ccb669c2304d8c84ade1cd903eaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"75f3ccb669c2304d8c84ade1cd903eaa","url":"https://api.github.com/users/tustin2121","login":"tustin2121","id":794812},"assignee":null,"updated_at":"2011-11-15T06:30:19Z","labels":[],"closed_at":null,"comments":0,"url":"https://api.github.com/repos/robinjam/Ports/issues/11","body":"Immediately after I set up a port, I started getting the errors below whenever I walk into a defined port. Now, I know what's causing the bug - my server, for whatever reason, suffers from an on-again-off-again \"direction bug\", which manifests as the Yaw or Pitch of players reporting as NaN. I don't know why it happens, it causes many annoying bugs during normal gameplay, and I have no fix for it. But, the plugins I've installed thus far have gracefully handled this error, usually storing the NaN value as nothing, 0, or NaN. This is the first time I've gotten rampent stack traces because of it, and due to these errors, your plugin is unfortunately unusable.\r\n\r\nThis isn't high priority, but if it is possible, please add more graceful error handling for yaw and pitch being NaN. :/\r\n\r\n```\r\n[SEVERE] Could not pass event PLAYER_MOVE to Ports\r\njavax.persistence.PersistenceException: Error loading on net.robinjam.bukkit.ports.persistence.Port.yaw\r\n\tat com.avaje.ebeaninternal.server.query.SqlBeanLoad.load(SqlBeanLoad.java:132)\r\n\tat com.avaje.ebeaninternal.server.deploy.BeanProperty.load(BeanProperty.java:619)\r\n\tat com.avaje.ebeaninternal.server.query.SqlTreeNodeBean.load(SqlTreeNodeBean.java:276)\r\n\tat com.avaje.ebeaninternal.server.query.CQuery.readRow(CQuery.java:560)\r\n\tat com.avaje.ebeaninternal.server.query.CQuery.readBeanInternal(CQuery.java:594)\r\n\tat com.avaje.ebeaninternal.server.query.CQuery.hasNextBean(CQuery.java:720)\r\n\tat com.avaje.ebeaninternal.server.query.CQuery.readTheRows(CQuery.java:706)\r\n\tat com.avaje.ebeaninternal.server.query.CQuery.readCollection(CQuery.java:673)\r\n\tat com.avaje.ebeaninternal.server.query.CQueryEngine.findMany(CQueryEngine.java:204)\r\n\tat com.avaje.ebeaninternal.server.query.DefaultOrmQueryEngine.findMany(DefaultOrmQueryEngine.java:104)\r\n\tat com.avaje.ebeaninternal.server.core.OrmQueryRequest.findList(OrmQueryRequest.java:344)\r\n\tat com.avaje.ebeaninternal.server.core.DefaultServer.findList(DefaultServer.java:1469)\r\n\tat com.avaje.ebeaninternal.server.querydefn.DefaultOrmQuery.findList(DefaultOrmQuery.java:906)\r\n\tat com.avaje.ebeaninternal.util.DefaultExpressionList.findList(DefaultExpressionList.java:201)\r\n\tat net.robinjam.bukkit.ports.PlayerListener.onPlayerMove(PlayerListener.java:34)\r\n\tat org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:302)\r\n\tat org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)\r\n\tat org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)\r\n\tat net.minecraft.server.NetServerHandler.a(NetServerHandler.java:180)\r\n\tat org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:615)\r\n\tat net.minecraft.server.Packet10Flying.a(SourceFile:126)\r\n\tat net.minecraft.server.NetworkManager.b(NetworkManager.java:226)\r\n\tat net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)\r\n\tat org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)\r\n\tat net.minecraft.server.NetworkListenThread.a(SourceFile:108)\r\n\tat net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)\r\n\tat net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)\r\n\tat net.minecraft.server.ThreadServerApplication.run(SourceFile:417)\r\nCaused by: java.lang.RuntimeException: setIntercept yaw on [net.robinjam.bukkit.ports.persistence.Port] arg[null] type[net.robinjam.bukkit.ports.persistence.Port$$EntityBean$Ports] threw error\r\n\tat com.avaje.ebeaninternal.server.deploy.BeanProperty.setValueIntercept(BeanProperty.java:843)\r\n\tat com.avaje.ebeaninternal.server.query.SqlBeanLoad.load(SqlBeanLoad.java:122)\r\n\t... 27 more\r\nCaused by: java.lang.NullPointerException\r\n\tat net.robinjam.bukkit.ports.persistence.Port$$EntityBean$Ports._ebean_setFieldIntercept(Port.java:1)\r\n\tat com.avaje.ebeaninternal.server.reflect.EnhanceBeanReflect$Setter.setIntercept(EnhanceBeanReflect.java:184)\r\n\tat com.avaje.ebeaninternal.server.deploy.BeanProperty.setValueIntercept(BeanProperty.java:833)\r\n\t... 28 more\r\n```","html_url":"https://github.com/robinjam/Ports/issues/11","title":"Yaw Exceptions","number":11,"id":2240627,"created_at":"2011-11-15T06:30:19Z"},"action":"opened"}