{"action":"created","issue":{"url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/384","labels_url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/384/comments","events_url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/384/events","html_url":"https://github.com/BCA-Team/Buildcraft-Additions/issues/384","id":68418036,"number":384,"title":"Packet exception handling bcadditions channel causes fatal error","user":{"login":"cocopuffs99","id":1305453,"avatar_url":"https://avatars.githubusercontent.com/u/1305453?v=3","gravatar_id":"","url":"https://api.github.com/users/cocopuffs99","html_url":"https://github.com/cocopuffs99","followers_url":"https://api.github.com/users/cocopuffs99/followers","following_url":"https://api.github.com/users/cocopuffs99/following{/other_user}","gists_url":"https://api.github.com/users/cocopuffs99/gists{/gist_id}","starred_url":"https://api.github.com/users/cocopuffs99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocopuffs99/subscriptions","organizations_url":"https://api.github.com/users/cocopuffs99/orgs","repos_url":"https://api.github.com/users/cocopuffs99/repos","events_url":"https://api.github.com/users/cocopuffs99/events{/privacy}","received_events_url":"https://api.github.com/users/cocopuffs99/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/labels/investigate","name":"investigate","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-14T15:47:14Z","updated_at":"2015-04-18T07:52:00Z","closed_at":null,"body":"Hey Guys,\r\n\r\nIn the latest BCA version I am getting a \"Connection Lost: A fatal error has occurred, this connection is terminated\" error that resets me to the title screen for my MC client.  The ATLauncher log states:\r\n\r\n[Client thread/ERROR] [FML]: There was a critical exception handling a packet on channel bcadditions\r\n[14/4/2015 11:39:35 AM] io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(12) + length(4) exceeds writerIndex(13): SlicedByteBuf(ridx: 12, widx: 13, cap: 13/13, unwrapped: UnpooledHeapByteBuf(ridx: 1, widx: 14, cap: 14/14))\r\n\r\nThis happened when I was placing a semi-automatic duster next to a heated furnace that already had 3 coils next to it (originally 4 coils, I removed one coil and in its place put the semi-automatic duster in the same voxel space to produce the crash.\r\n\r\nFull ATLauncher log: http://paste.atlauncher.com/view/90ed6501\r\n\r\nThanks for an awesome mod. The Eureka system is nice, got me back into BCA again =)"},"comment":{"url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/comments/94141072","html_url":"https://github.com/BCA-Team/Buildcraft-Additions/issues/384#issuecomment-94141072","issue_url":"https://api.github.com/repos/BCA-Team/Buildcraft-Additions/issues/384","id":94141072,"user":{"login":"AEnterprise","id":5206666,"avatar_url":"https://avatars.githubusercontent.com/u/5206666?v=3","gravatar_id":"","url":"https://api.github.com/users/AEnterprise","html_url":"https://github.com/AEnterprise","followers_url":"https://api.github.com/users/AEnterprise/followers","following_url":"https://api.github.com/users/AEnterprise/following{/other_user}","gists_url":"https://api.github.com/users/AEnterprise/gists{/gist_id}","starred_url":"https://api.github.com/users/AEnterprise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AEnterprise/subscriptions","organizations_url":"https://api.github.com/users/AEnterprise/orgs","repos_url":"https://api.github.com/users/AEnterprise/repos","events_url":"https://api.github.com/users/AEnterprise/events{/privacy}","received_events_url":"https://api.github.com/users/AEnterprise/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T07:52:00Z","updated_at":"2015-04-18T07:52:00Z","body":"yeah it's a touch nut to crack, i'm thinking of sending an identifier allong with the data that the machine checks on sync, also gona surround the reading call with a try-catch that just logs the error in the log as i suspect this is just packet A from machine A ending up at machine B"}}