{"action":"created","issue":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1312","repository_url":"https://api.github.com/repos/CorfuDB/CorfuDB","labels_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1312/comments","events_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1312/events","html_url":"https://github.com/CorfuDB/CorfuDB/issues/1312","id":329339206,"node_id":"MDU6SXNzdWUzMjkzMzkyMDY=","number":1312,"title":"Error during serialization","user":{"login":"redbrick9","id":487984,"node_id":"MDQ6VXNlcjQ4Nzk4NA==","avatar_url":"https://avatars2.githubusercontent.com/u/487984?v=4","gravatar_id":"","url":"https://api.github.com/users/redbrick9","html_url":"https://github.com/redbrick9","followers_url":"https://api.github.com/users/redbrick9/followers","following_url":"https://api.github.com/users/redbrick9/following{/other_user}","gists_url":"https://api.github.com/users/redbrick9/gists{/gist_id}","starred_url":"https://api.github.com/users/redbrick9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbrick9/subscriptions","organizations_url":"https://api.github.com/users/redbrick9/orgs","repos_url":"https://api.github.com/users/redbrick9/repos","events_url":"https://api.github.com/users/redbrick9/events{/privacy}","received_events_url":"https://api.github.com/users/redbrick9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-05T07:49:30Z","updated_at":"2018-06-06T10:18:52Z","closed_at":null,"author_association":"NONE","body":"I built up a corfu server based on TOT run into the following exception.\r\n\r\n15:42:08.214 [netty-2] ERROR org.corfudb.protocols.wireprotocol.NettyCorfuMessageEncoder - encode: Error during serialization!\r\njava.lang.IndexOutOfBoundsException: readerIndex: 2952 (expected: 0 <= readerIndex <= writerIndex(1476))\r\n\tat io.netty.buffer.AbstractByteBuf.readerIndex(AbstractByteBuf.java:103) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1073) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1062) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat org.corfudb.protocols.wireprotocol.LogData.doSerialize(LogData.java:203) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.ICorfuPayload.serialize(ICorfuPayload.java:278) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.WriteRequest.doSerialize(WriteRequest.java:50) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.ICorfuPayload.serialize(ICorfuPayload.java:278) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.CorfuPayloadMsg.serialize(CorfuPayloadMsg.java:46) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.NettyCorfuMessageEncoder.encode(NettyCorfuMessageEncoder.java:26) [runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.NettyCorfuMessageEncoder.encode(NettyCorfuMessageEncoder.java:15) [runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:38) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1081) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1128) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1070) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/comments/395019809","html_url":"https://github.com/CorfuDB/CorfuDB/issues/1312#issuecomment-395019809","issue_url":"https://api.github.com/repos/CorfuDB/CorfuDB/issues/1312","id":395019809,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTAxOTgwOQ==","user":{"login":"redbrick9","id":487984,"node_id":"MDQ6VXNlcjQ4Nzk4NA==","avatar_url":"https://avatars2.githubusercontent.com/u/487984?v=4","gravatar_id":"","url":"https://api.github.com/users/redbrick9","html_url":"https://github.com/redbrick9","followers_url":"https://api.github.com/users/redbrick9/followers","following_url":"https://api.github.com/users/redbrick9/following{/other_user}","gists_url":"https://api.github.com/users/redbrick9/gists{/gist_id}","starred_url":"https://api.github.com/users/redbrick9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbrick9/subscriptions","organizations_url":"https://api.github.com/users/redbrick9/orgs","repos_url":"https://api.github.com/users/redbrick9/repos","events_url":"https://api.github.com/users/redbrick9/events{/privacy}","received_events_url":"https://api.github.com/users/redbrick9/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T10:18:52Z","updated_at":"2018-06-06T10:18:52Z","author_association":"NONE","body":"Error log.\r\n\r\n2018-06-06 10:13:41.270 UTC DEBUG [main] [o.c.r.v.r.QuorumReplicationProtocol] Write at {} 181\r\n2018-06-06 10:13:41.271 UTC ERROR [netty-3] [o.c.p.w.NettyCorfuMessageEncoder] encode: Error during serialization!\r\njava.lang.IndexOutOfBoundsException: readerIndex: 2438 (expected: 0 <= readerIndex <= writerIndex(1219))\r\n\tat io.netty.buffer.AbstractByteBuf.readerIndex(AbstractByteBuf.java:103) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1073) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1062) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat org.corfudb.protocols.wireprotocol.LogData.doSerialize(LogData.java:203) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.ICorfuPayload.serialize(ICorfuPayload.java:278) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.WriteRequest.doSerialize(WriteRequest.java:50) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.ICorfuPayload.serialize(ICorfuPayload.java:278) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.CorfuPayloadMsg.serialize(CorfuPayloadMsg.java:46) ~[runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.NettyCorfuMessageEncoder.encode(NettyCorfuMessageEncoder.java:26) [runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat org.corfudb.protocols.wireprotocol.NettyCorfuMessageEncoder.encode(NettyCorfuMessageEncoder.java:15) [runtime-0.2.0-SNAPSHOT.jar:?]\r\n\tat io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:38) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1081) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1128) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1070) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.18.Final.jar:4.1.18.Final]\r\n\tat java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]\r\n2018-06-06 10:13:41.271 UTC ERROR [netty-3] [o.c.p.w.NettyCorfuMessageEncoder] encode: CorfuMsg(clientID=877a1b30-8f7c-4666-a51a-4acd480003d1, requestID=80, epoch=0, buf=null, msgType=WRITE), buffer size: 2048\r\n2018-06-06 10:13:41.278 UTC DEBUG [main] [o.c.r.o.VersionLockedObject] Sync[CorfuTable[38f7]@181] Upcall Result 181\r\n"}}
{"actor":{"display_login":"redbrick9"}}