{"action":"created","issue":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/865","repository_url":"https://api.github.com/repos/PaperMC/Paper","labels_url":"https://api.github.com/repos/PaperMC/Paper/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/PaperMC/Paper/issues/865/comments","events_url":"https://api.github.com/repos/PaperMC/Paper/issues/865/events","html_url":"https://github.com/PaperMC/Paper/issues/865","id":253066190,"number":865,"title":"ArrayIndexOutOfBoundsException - Possible Item Duping?","user":{"login":"Platinteufel","id":13700636,"avatar_url":"https://avatars3.githubusercontent.com/u/13700636?v=4","gravatar_id":"","url":"https://api.github.com/users/Platinteufel","html_url":"https://github.com/Platinteufel","followers_url":"https://api.github.com/users/Platinteufel/followers","following_url":"https://api.github.com/users/Platinteufel/following{/other_user}","gists_url":"https://api.github.com/users/Platinteufel/gists{/gist_id}","starred_url":"https://api.github.com/users/Platinteufel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Platinteufel/subscriptions","organizations_url":"https://api.github.com/users/Platinteufel/orgs","repos_url":"https://api.github.com/users/Platinteufel/repos","events_url":"https://api.github.com/users/Platinteufel/events{/privacy}","received_events_url":"https://api.github.com/users/Platinteufel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-26T06:04:31Z","updated_at":"2017-08-29T19:07:50Z","closed_at":"2017-08-29T19:07:50Z","body":"**Paper 1167** (not the latest one, I know - but after the fixes of 1.12 dupe bugs)\r\n\r\nI've noticed that one of my players had a lot of diamonds and I'm thinking about a possible duplication bug. Now I found some interesting parts in console: The player uses `/craft` (this should be an essentials command) and after some seconds there's an exception in console:\r\n\r\n```\r\n[...] issued server command: /craft\r\n[13:54:15] [Server thread/FATAL]: Error executing task\r\njava.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: -1\r\n    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_101]\r\n    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_101]\r\n    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:47) [patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:842) [patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) [patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:766) [patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:664) [patched_1.12.jar:git-Paper-1167]\r\n    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]\r\nCaused by: java.lang.ArrayIndexOutOfBoundsException: -1\r\n    at java.util.Arrays$ArrayList.get(Arrays.java:3841) ~[?:1.8.0_101]\r\n    at net.minecraft.server.v1_12_R1.NonNullList.get(SourceFile:44) ~[patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.PlayerInventory.getItem(PlayerInventory.java:568) ~[patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:2044) ~[patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.PacketPlayInAutoRecipe.a(SourceFile:77) ~[patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.PacketPlayInAutoRecipe.a(SourceFile:11) ~[patched_1.12.jar:git-Paper-1167]\r\n    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.jar:git-Paper-1167]\r\n    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_101]\r\n    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_101]\r\n    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.jar:git-Paper-1167]\r\n    ... 5 more\r\n```\r\n\r\nMaybe some of you could tell me if this could be a reason for item duping? Thank you in advance!"},"comment":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/comments/325764742","html_url":"https://github.com/PaperMC/Paper/issues/865#issuecomment-325764742","issue_url":"https://api.github.com/repos/PaperMC/Paper/issues/865","id":325764742,"user":{"login":"Platinteufel","id":13700636,"avatar_url":"https://avatars3.githubusercontent.com/u/13700636?v=4","gravatar_id":"","url":"https://api.github.com/users/Platinteufel","html_url":"https://github.com/Platinteufel","followers_url":"https://api.github.com/users/Platinteufel/followers","following_url":"https://api.github.com/users/Platinteufel/following{/other_user}","gists_url":"https://api.github.com/users/Platinteufel/gists{/gist_id}","starred_url":"https://api.github.com/users/Platinteufel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Platinteufel/subscriptions","organizations_url":"https://api.github.com/users/Platinteufel/orgs","repos_url":"https://api.github.com/users/Platinteufel/repos","events_url":"https://api.github.com/users/Platinteufel/events{/privacy}","received_events_url":"https://api.github.com/users/Platinteufel/received_events","type":"User","site_admin":false},"created_at":"2017-08-29T19:07:50Z","updated_at":"2017-08-29T19:07:50Z","body":"Seems to be fine now.  :)"}}
{"actor":{"display_login":"Platinteufel"}}