{"action":"created","issue":{"url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/162","repository_url":"https://api.github.com/repos/dmulloy2/ProtocolLib","labels_url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/162/comments","events_url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/162/events","html_url":"https://github.com/dmulloy2/ProtocolLib/issues/162","id":138611018,"number":162,"title":"getEntityFromId Citizens error","user":{"login":"Jalau11","id":7836693,"avatar_url":"https://avatars.githubusercontent.com/u/7836693?v=3","gravatar_id":"","url":"https://api.github.com/users/Jalau11","html_url":"https://github.com/Jalau11","followers_url":"https://api.github.com/users/Jalau11/followers","following_url":"https://api.github.com/users/Jalau11/following{/other_user}","gists_url":"https://api.github.com/users/Jalau11/gists{/gist_id}","starred_url":"https://api.github.com/users/Jalau11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jalau11/subscriptions","organizations_url":"https://api.github.com/users/Jalau11/orgs","repos_url":"https://api.github.com/users/Jalau11/repos","events_url":"https://api.github.com/users/Jalau11/events{/privacy}","received_events_url":"https://api.github.com/users/Jalau11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-04T22:57:32Z","updated_at":"2016-03-06T01:40:24Z","closed_at":null,"body":"After the normal getEntityFromId issues seem to be resolved, the next one is happening with citizens:\r\n`[23:55:35] [Server thread/WARN]: FieldAccessException: Cannot find entity from ID 495.\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.EntityUtilities.getEntityFromID(EntityUtilities.java:254)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.PacketFilterManager.getEntityFromID(PacketFilterManager.java:982)\r\n[23:55:35] [Server thread/WARN]: \tat me.jalau.utils.BasicUtils.getEntityFromID(BasicUtils.java:57)\r\n[23:55:35] [Server thread/WARN]: \tat me.jalau.protocollib.MobPlayerFaker$1.onPacketSending(MobPlayerFaker.java:92)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:637)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:613)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:318)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:278)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.processSending(NettyChannelInjector.java:401)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.access$500(NettyChannelInjector.java:82)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$5.handleScheduled(NettyChannelInjector.java:367)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$5.onMessageScheduled(NettyChannelInjector.java:335)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyChannelProxy$2.schedulingRunnable(NettyChannelProxy.java:127)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:95)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:193)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.NetworkManager.sendPacket(NetworkManager.java:142)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.PlayerConnection.sendPacket(PlayerConnection.java:1060)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.EntityTrackerEntry.broadcast(EntityTrackerEntry.java:292)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.EntityTrackerEntry.broadcastIncludingSelf(EntityTrackerEntry.java:298)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.EntityTrackerEntry.d(EntityTrackerEntry.java:265)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.EntityTrackerEntry.track(EntityTrackerEntry.java:220)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.EntityTracker.updatePlayers(EntityTracker.java:179)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:809)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660)\r\n[23:55:35] [Server thread/WARN]: \tat net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559)\r\n[23:55:35] [Server thread/WARN]: \tat java.lang.Thread.run(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: Caused by: java.lang.IllegalArgumentException: Can not set final net.minecraft.server.v1_9_R1.Entity field net.citizensnpcs.util.nms.PlayerlistTrackerEntry.tracker to net.minecraft.server.v1_9_R1.EntityTrackerEntry\r\n[23:55:35] [Server thread/WARN]: \tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: \tat sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: \tat sun.reflect.UnsafeFieldAccessorImpl.ensureObj(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: \tat sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: \tat java.lang.reflect.Field.get(Unknown Source)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.reflect.FieldUtils.readField(FieldUtils.java:281)\r\n[23:55:35] [Server thread/WARN]: \tat com.comphenix.protocol.injector.EntityUtilities.getEntityFromID(EntityUtilities.java:244)\r\n[23:55:35] [Server thread/WARN]: \t... 28 more`"},"comment":{"url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/comments/192779041","html_url":"https://github.com/dmulloy2/ProtocolLib/issues/162#issuecomment-192779041","issue_url":"https://api.github.com/repos/dmulloy2/ProtocolLib/issues/162","id":192779041,"user":{"login":"dmulloy2","id":3039119,"avatar_url":"https://avatars.githubusercontent.com/u/3039119?v=3","gravatar_id":"","url":"https://api.github.com/users/dmulloy2","html_url":"https://github.com/dmulloy2","followers_url":"https://api.github.com/users/dmulloy2/followers","following_url":"https://api.github.com/users/dmulloy2/following{/other_user}","gists_url":"https://api.github.com/users/dmulloy2/gists{/gist_id}","starred_url":"https://api.github.com/users/dmulloy2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmulloy2/subscriptions","organizations_url":"https://api.github.com/users/dmulloy2/orgs","repos_url":"https://api.github.com/users/dmulloy2/repos","events_url":"https://api.github.com/users/dmulloy2/events{/privacy}","received_events_url":"https://api.github.com/users/dmulloy2/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T01:40:24Z","updated_at":"2016-03-06T01:40:24Z","body":"Is this still an issue in the latest build?"}}