{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/2505","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/2505/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/2505/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/2505/events","html_url":"https://github.com/hapijs/hapi/issues/2505","id":68786718,"number":2505,"title":"request.state occasionally null","user":{"login":"kenkouot","id":2964310,"avatar_url":"https://avatars.githubusercontent.com/u/2964310?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkouot","html_url":"https://github.com/kenkouot","followers_url":"https://api.github.com/users/kenkouot/followers","following_url":"https://api.github.com/users/kenkouot/following{/other_user}","gists_url":"https://api.github.com/users/kenkouot/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkouot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkouot/subscriptions","organizations_url":"https://api.github.com/users/kenkouot/orgs","repos_url":"https://api.github.com/users/kenkouot/repos","events_url":"https://api.github.com/users/kenkouot/events{/privacy}","received_events_url":"https://api.github.com/users/kenkouot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-04-15T21:05:13Z","updated_at":"2015-04-20T19:52:30Z","closed_at":null,"body":"**Edited:** We were originally experiencing this bug on 8.2.0 and now still in 8.4.0.\r\nWe noticed that a small volume of requests started throwing odd errors. We're using two plugins, [crumb](https://github.com/hapijs/crumb) and [hapi-i18next](https://github.com/kenkouot/hapi-i18next) and those plugins will error out trying to access a property of `request.state`, which turns out to be null.\r\n\r\nThe volume of this error is pretty low, it affects <0.01% of requests for at a non-peak volume of 1.5k rpm. Any help would be greatly appreciated.\r\n\r\nSample error (note, example if with crumb but other plugins that check request.state) will also fail:\r\n```\r\nStack trace\r\nTypeError: Cannot read property 'crumb' of null\r\nat generate (/usr/www/440/node_modules/crumb/lib/index.js:156:34)\r\nat /usr/www/440/node_modules/crumb/lib/index.js:85:13\r\nat /usr/www/440/node_modules/hapi/lib/handler.js:312:22\r\nat iterate (/usr/www/440/node_modules/hapi/node_modules/items/lib/index.js:35:13)\r\nat Object.exports.serial (/usr/www/440/node_modules/hapi/node_modules/items/lib/index.js:38:9)\r\nat /usr/www/440/node_modules/hapi/lib/handler.js:307:15\r\nat internals.Protect.run (/usr/www/440/node_modules/hapi/lib/protect.js:56:5)\r\nat Object.exports.invoke (/usr/www/440/node_modules/hapi/lib/handler.js:305:22)\r\nat /usr/www/440/node_modules/hapi/lib/request.js:318:32\r\nat iterate (/usr/www/440/node_modules/hapi/node_modules/items/lib/index.js:35:13)\r\nat done (/usr/www/440/node_modules/hapi/node_modules/items/lib/index.js:27:25)\r\nat finish (/usr/www/440/node_modules/hapi/lib/protect.js:45:16)\r\nat wrapped (/usr/www/440/node_modules/hapi/node_modules/hoek/lib/index.js:798:20)\r\nat done (/usr/www/440/node_modules/hapi/node_modules/items/lib/index.js:30:25)\r\nat Function.wrapped [as _next] (/usr/www/440/node_modules/hapi/node_modules/hoek/lib/index.js:798:20)\r\nat Function.internals.continue (/usr/www/440/node_modules/hapi/lib/reply.js:102:10)\r\n```"},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/94552488","html_url":"https://github.com/hapijs/hapi/issues/2505#issuecomment-94552488","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/2505","id":94552488,"user":{"login":"hueniverse","id":56631,"avatar_url":"https://avatars.githubusercontent.com/u/56631?v=3","gravatar_id":"","url":"https://api.github.com/users/hueniverse","html_url":"https://github.com/hueniverse","followers_url":"https://api.github.com/users/hueniverse/followers","following_url":"https://api.github.com/users/hueniverse/following{/other_user}","gists_url":"https://api.github.com/users/hueniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/hueniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hueniverse/subscriptions","organizations_url":"https://api.github.com/users/hueniverse/orgs","repos_url":"https://api.github.com/users/hueniverse/repos","events_url":"https://api.github.com/users/hueniverse/events{/privacy}","received_events_url":"https://api.github.com/users/hueniverse/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T19:52:30Z","updated_at":"2015-04-20T19:52:30Z","body":"Any JSONP?"}}