{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak-dotnet-client/issues/278","labels_url":"https://api.github.com/repos/basho/riak-dotnet-client/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak-dotnet-client/issues/278/comments","events_url":"https://api.github.com/repos/basho/riak-dotnet-client/issues/278/events","html_url":"https://github.com/basho/riak-dotnet-client/issues/278","id":76482154,"number":278,"title":"Client fails on Put with ReturnBody = false","user":{"login":"glickbot","id":593022,"avatar_url":"https://avatars.githubusercontent.com/u/593022?v=3","gravatar_id":"","url":"https://api.github.com/users/glickbot","html_url":"https://github.com/glickbot","followers_url":"https://api.github.com/users/glickbot/followers","following_url":"https://api.github.com/users/glickbot/following{/other_user}","gists_url":"https://api.github.com/users/glickbot/gists{/gist_id}","starred_url":"https://api.github.com/users/glickbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glickbot/subscriptions","organizations_url":"https://api.github.com/users/glickbot/orgs","repos_url":"https://api.github.com/users/glickbot/repos","events_url":"https://api.github.com/users/glickbot/events{/privacy}","received_events_url":"https://api.github.com/users/glickbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-14T20:35:31Z","updated_at":"2015-05-14T20:35:31Z","closed_at":null,"body":"RiakObject doesn't handle Content being null/empty if ReturnBody is false\r\n\r\nException source:\r\nRiakObject line 277\r\nValue = content.Value\r\n\r\nStack trace and anylisis:\r\nCause: content object is null, accessing it's field Value causes a null\r\npointer exception\r\nSystem.NullReferenceException was unhandled\r\n    HResult=-2147467261\r\n    Message=Object reference not set to an instance of an object.\r\n    Source=RiakClient\r\n    StackTrace:\r\n         at RiakClient.Models.RiakObject..ctor(String bucketType, String\r\nbucket, String key, RpbContent content, Byte[] vectorClock) in\r\nc:\\Users\\fgonz_000\\Documents\\comercio-digital\\desarrollo\\librerias\\net\\riak-dotnet-client-develop\\src\\RiakClient\\Models\\RiakObject.cs:line\r\n277\r\n         at RiakClient.RiakClient.Put(RiakObject value, RiakPutOptions\r\noptions) in\r\nc:\\Users\\fgonz_000\\Documents\\comercio-digital\\desarrollo\\librerias\\net\\riak-dotnet-client-develop\\src\\RiakClient\\RiakClient.cs:line\r\n241\r\n         at BucketTypeTest.Program.Main(String[] args) in\r\nc:\\Users\\fgonz_000\\Documents\\Visual Studio\r\n2013\\Projects\\BucketTypeTest\\BucketTypeTest\\Program.cs:line 25\r\n         at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,\r\nString[] args)\r\n         at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence\r\nassemblySecurity, String[] args)\r\n         at\r\nMicrosoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n         at System.Threading.ExecutionContext.RunInternal(ExecutionContext\r\nexecutionContext, ContextCallback callback, Object state, Boolean\r\npreserveSyncCtx)\r\n         at System.Threading.ExecutionContext.Run(ExecutionContext\r\nexecutionContext, ContextCallback callback, Object state, Boolean\r\npreserveSyncCtx)\r\n         at System.Threading.ExecutionContext.Run(ExecutionContext\r\nexecutionContext, ContextCallback callback, Object state)\r\n         at System.Threading.ThreadHelper.ThreadStart()\r\n    InnerException:"}}