{"action":"created","issue":{"url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/10","repository_url":"https://api.github.com/repos/j0ach1mmall3/JLib","labels_url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/10/comments","events_url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/10/events","html_url":"https://github.com/j0ach1mmall3/JLib/issues/10","id":147049512,"number":10,"title":"Errors upon login, ProtocolLib incompatibility. ","user":{"login":"Sonic5317","id":13396169,"avatar_url":"https://avatars.githubusercontent.com/u/13396169?v=3","gravatar_id":"","url":"https://api.github.com/users/Sonic5317","html_url":"https://github.com/Sonic5317","followers_url":"https://api.github.com/users/Sonic5317/followers","following_url":"https://api.github.com/users/Sonic5317/following{/other_user}","gists_url":"https://api.github.com/users/Sonic5317/gists{/gist_id}","starred_url":"https://api.github.com/users/Sonic5317/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sonic5317/subscriptions","organizations_url":"https://api.github.com/users/Sonic5317/orgs","repos_url":"https://api.github.com/users/Sonic5317/repos","events_url":"https://api.github.com/users/Sonic5317/events{/privacy}","received_events_url":"https://api.github.com/users/Sonic5317/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/j0ach1mmall3/JLib/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-08T21:56:37Z","updated_at":"2016-04-09T06:18:10Z","closed_at":"2016-04-09T06:18:10Z","body":"Getting this error when using ProtocolLib ( https://www.spigotmc.org/resources/protocollib.1997/ )\r\n\r\n`02:26:57 [ERROR] [JLib] Unhandled exception occured in onPacketSending(PacketEvent) for JLib\r\n02:26:57 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n02:26:57 at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_77]\r\n02:26:57 at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_77]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.getEnum(EnumWrappers.java:344) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.initialize(EnumWrappers.java:300) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.getPlayerInfoActionClass(EnumWrappers.java:392) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.events.PacketContainer.getPlayerInfoAction(PacketContainer.java:772) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.j0ach1mmall3.jlib.player.tagchanger.TagChanger.onPacketSending(TagChanger.java:43) ~[JLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:638) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:614) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:312) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:278) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.processSending(NettyChannelInjector.java:417) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.access$500(NettyChannelInjector.java:84) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.handleScheduled(NettyChannelInjector.java:383) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.onMessageScheduled(NettyChannelInjector.java:351) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy$2.schedulingRunnable(NettyChannelProxy.java:127) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:95) [ProtocolLib.jar:?]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:193) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.sendPacket(NetworkManager.java:142) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerConnection.sendPacket(PlayerConnection.java:1096) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerList.sendScoreboard(PlayerList.java:244) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerList.a(PlayerList.java:142) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.LoginListener.b(LoginListener.java:144) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.LoginListener.c(LoginListener.java:54) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:232) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.ServerConnection.c(ServerConnection.java:141) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:820) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]\r\n02:26:57 [ERROR] Parameters:\r\n02:26:57 net.minecraft.server.v1_9_R1.PacketPlayOutScoreboardDisplayObjective@27a648d5[\r\n02:26:57 a=0\r\n02:26:57 b=UHCHealth\r\n02:26:57 ]\r\n02:26:57 [ERROR] [JLib] Unhandled exception occured in onPacketSending(PacketEvent) for JLib\r\n02:26:57 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\r\n02:26:57 at java.util.ArrayList.rangeCheck(Unknown Source) ~[?:1.8.0_77]\r\n02:26:57 at java.util.ArrayList.get(Unknown Source) ~[?:1.8.0_77]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.getEnum(EnumWrappers.java:344) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.initialize(EnumWrappers.java:300) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.wrappers.EnumWrappers.getPlayerInfoActionClass(EnumWrappers.java:392) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.events.PacketContainer.getPlayerInfoAction(PacketContainer.java:772) ~[ProtocolLib.jar:?]\r\n02:26:57 at com.j0ach1mmall3.jlib.player.tagchanger.TagChanger.onPacketSending(TagChanger.java:43) ~[JLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:638) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:614) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:312) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:278) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.processSending(NettyChannelInjector.java:417) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector.access$500(NettyChannelInjector.java:84) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.handleScheduled(NettyChannelInjector.java:383) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelInjector$6.onMessageScheduled(NettyChannelInjector.java:351) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyChannelProxy$2.schedulingRunnable(NettyChannelProxy.java:127) [ProtocolLib.jar:?]\r\n02:26:57 at com.comphenix.protocol.compat.netty.independent.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:95) [ProtocolLib.jar:?]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:193) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.sendPacket(NetworkManager.java:142) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerConnection.sendPacket(PlayerConnection.java:1096) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerList.sendScoreboard(PlayerList.java:244) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.PlayerList.a(PlayerList.java:142) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.LoginListener.b(LoginListener.java:144) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.LoginListener.c(LoginListener.java:54) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.NetworkManager.a(NetworkManager.java:232) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.ServerConnection.c(ServerConnection.java:141) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:820) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.2.jar:git-Spigot-a1b8bf3-f01861f]\r\n02:26:57 at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]\r\n02:26:57 [ERROR] Parameters:\r\n02:26:57 net.minecraft.server.v1_9_R1.PacketPlayOutScoreboardDisplayObjective@7bf6518a[\r\n02:26:57 a=2\r\n02:26:57 b=healthbarbelow\r\n02:26:57 ]`"},"comment":{"url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/comments/207718345","html_url":"https://github.com/j0ach1mmall3/JLib/issues/10#issuecomment-207718345","issue_url":"https://api.github.com/repos/j0ach1mmall3/JLib/issues/10","id":207718345,"user":{"login":"j0ach1mmall3","id":10659112,"avatar_url":"https://avatars.githubusercontent.com/u/10659112?v=3","gravatar_id":"","url":"https://api.github.com/users/j0ach1mmall3","html_url":"https://github.com/j0ach1mmall3","followers_url":"https://api.github.com/users/j0ach1mmall3/followers","following_url":"https://api.github.com/users/j0ach1mmall3/following{/other_user}","gists_url":"https://api.github.com/users/j0ach1mmall3/gists{/gist_id}","starred_url":"https://api.github.com/users/j0ach1mmall3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0ach1mmall3/subscriptions","organizations_url":"https://api.github.com/users/j0ach1mmall3/orgs","repos_url":"https://api.github.com/users/j0ach1mmall3/repos","events_url":"https://api.github.com/users/j0ach1mmall3/events{/privacy}","received_events_url":"https://api.github.com/users/j0ach1mmall3/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T06:18:10Z","updated_at":"2016-04-09T06:18:10Z","body":"Should be fixed in the latest build"}}