{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/4571","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/4571/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/4571/comments","events_url":"https://api.github.com/repos/netty/netty/issues/4571/events","html_url":"https://github.com/netty/netty/issues/4571","id":122154936,"number":4571,"title":"NPE in AbstractNioChannel.doBeginRead","user":{"login":"richdougherty","id":14750,"avatar_url":"https://avatars.githubusercontent.com/u/14750?v=3","gravatar_id":"","url":"https://api.github.com/users/richdougherty","html_url":"https://github.com/richdougherty","followers_url":"https://api.github.com/users/richdougherty/followers","following_url":"https://api.github.com/users/richdougherty/following{/other_user}","gists_url":"https://api.github.com/users/richdougherty/gists{/gist_id}","starred_url":"https://api.github.com/users/richdougherty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richdougherty/subscriptions","organizations_url":"https://api.github.com/users/richdougherty/orgs","repos_url":"https://api.github.com/users/richdougherty/repos","events_url":"https://api.github.com/users/richdougherty/events{/privacy}","received_events_url":"https://api.github.com/users/richdougherty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/defect","name":"defect","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/134","html_url":"https://github.com/netty/netty/milestones/4.0.35.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/134/labels","id":1551157,"number":134,"title":"4.0.35.Final","description":"","creator":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":2,"state":"open","created_at":"2016-01-29T13:17:12Z","updated_at":"2016-02-02T18:42:58Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-12-14T23:18:57Z","updated_at":"2016-02-02T18:53:31Z","closed_at":null,"body":"I occasionally see an NPEs in Netty 4.0.33.Final when running a [Play Framework](https://github.com/playframework/playframework) performance test. The error appears to be random. It happens about once every two minutes under load of 50,000 requests/second.\r\n\r\n```\r\njava.lang.NullPointerException: null\r\n        at io.netty.channel.nio.AbstractNioChannel.doBeginRead(AbstractNioChannel.java:366) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannel$AbstractUnsafe.beginRead(AbstractChannel.java:683) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.DefaultChannelPipeline$HeadContext.read(DefaultChannelPipeline.java:1117) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:614) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:595) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.ChannelOutboundHandlerAdapter.read(ChannelOutboundHandlerAdapter.java:93) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:614) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:595) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.ChannelDuplexHandler.read(ChannelDuplexHandler.java:95) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.invokeRead(AbstractChannelHandlerContext.java:614) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.AbstractChannelHandlerContext.read(AbstractChannelHandlerContext.java:595) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at com.typesafe.netty.HandlerPublisher.requestDemand(HandlerPublisher.java:86) ~[com.typesafe.netty.netty-reactive-streams-1.0.1.jar:na]\r\n        at com.typesafe.netty.HandlerPublisher.receivedDemand(HandlerPublisher.java:263) ~[com.typesafe.netty.netty-reactive-streams-1.0.1.jar:na]\r\n        at com.typesafe.netty.HandlerPublisher.access$200(HandlerPublisher.java:41) ~[com.typesafe.netty.netty-reactive-streams-1.0.1.jar:na]\r\n        at com.typesafe.netty.HandlerPublisher$ChannelSubscription$1.run(HandlerPublisher.java:444) ~[com.typesafe.netty.netty-reactive-streams-1.0.1.jar:na]\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) ~[io.netty.netty-common-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) ~[io.netty.netty-transport-4.0.33.Final.jar:4.0.33.Final]\r\n        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) ~[io.netty.netty-common-4.0.33.Final.jar:4.0.33.Final]\r\n        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]\r\n```\r\n\r\nMachine info:\r\n```\r\nLinux <servername> 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\nJava info:\r\n```\r\njava version \"1.8.0_45\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_45-b14)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)\r\n```"},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/178756319","html_url":"https://github.com/netty/netty/issues/4571#issuecomment-178756319","issue_url":"https://api.github.com/repos/netty/netty/issues/4571","id":178756319,"user":{"login":"jroper","id":105833,"avatar_url":"https://avatars.githubusercontent.com/u/105833?v=3","gravatar_id":"","url":"https://api.github.com/users/jroper","html_url":"https://github.com/jroper","followers_url":"https://api.github.com/users/jroper/followers","following_url":"https://api.github.com/users/jroper/following{/other_user}","gists_url":"https://api.github.com/users/jroper/gists{/gist_id}","starred_url":"https://api.github.com/users/jroper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jroper/subscriptions","organizations_url":"https://api.github.com/users/jroper/orgs","repos_url":"https://api.github.com/users/jroper/repos","events_url":"https://api.github.com/users/jroper/events{/privacy}","received_events_url":"https://api.github.com/users/jroper/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T18:53:30Z","updated_at":"2016-02-02T18:53:30Z","body":"Sorry, the bad behaviour in Play that triggered this issue is fixed, the better error reporting is not."}}