{"action":"created","issue":{"url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/199","repository_url":"https://api.github.com/repos/msgpack/msgpack-cli","labels_url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/199/comments","events_url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/199/events","html_url":"https://github.com/msgpack/msgpack-cli/issues/199","id":191165080,"number":199,"title":"Index out of bounds exception when trying to deserialize object with missing List property on iPad","user":{"login":"diopol","id":5169506,"avatar_url":"https://avatars.githubusercontent.com/u/5169506?v=3","gravatar_id":"","url":"https://api.github.com/users/diopol","html_url":"https://github.com/diopol","followers_url":"https://api.github.com/users/diopol/followers","following_url":"https://api.github.com/users/diopol/following{/other_user}","gists_url":"https://api.github.com/users/diopol/gists{/gist_id}","starred_url":"https://api.github.com/users/diopol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diopol/subscriptions","organizations_url":"https://api.github.com/users/diopol/orgs","repos_url":"https://api.github.com/users/diopol/repos","events_url":"https://api.github.com/users/diopol/events{/privacy}","received_events_url":"https://api.github.com/users/diopol/received_events","type":"User","site_admin":false},"labels":[{"id":5589192,"url":"https://api.github.com/repos/msgpack/msgpack-cli/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T00:54:49Z","updated_at":"2016-11-29T14:01:58Z","closed_at":null,"body":"This simple scenario throws exception on iPad:\r\n\r\n```csharp\r\n    public class Obj1\r\n    {\r\n        [MessagePackMember(0)]\r\n        public string Id { get; set; }\r\n\r\n        [MessagePackMember(1)]\r\n        public List<string> Items { get; set; }\r\n    }\r\n\r\n    public class Obj2\r\n    {\r\n        [MessagePackMember(0)]\r\n        public string Id { get; set; }\r\n\r\n        // doesn't know about Items\r\n    }\r\n\r\n    void ThisMethodThrowsIndexOutOfBoundsException()\r\n    {\r\n        using (var memStream = new MemoryStream())\r\n        {\r\n            SerializationContext.Default.GetSerializer<Obj1>().Pack(memStream, new Obj1\r\n            {\r\n                Id = \"1\",\r\n                Items = new List<string> { \"a\", \"b\" }\r\n            });\r\n\r\n            memStream.Seek(0, SeekOrigin.Begin);\r\n\r\n            var serializer2 = SerializationContext.Default.GetSerializer<Obj2>();\r\n\r\n            // this call throws\r\n            Obj2 obj = serializer2.Unpack(memStream);\r\n        }\r\n    }\r\n```\r\n\r\nWorks well in full .NET\r\nMsgPack Cli is installed from Nuget, version 0.8.0"},"comment":{"url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/comments/263577447","html_url":"https://github.com/msgpack/msgpack-cli/issues/199#issuecomment-263577447","issue_url":"https://api.github.com/repos/msgpack/msgpack-cli/issues/199","id":263577447,"user":{"login":"yfakariya","id":514866,"avatar_url":"https://avatars.githubusercontent.com/u/514866?v=3","gravatar_id":"","url":"https://api.github.com/users/yfakariya","html_url":"https://github.com/yfakariya","followers_url":"https://api.github.com/users/yfakariya/followers","following_url":"https://api.github.com/users/yfakariya/following{/other_user}","gists_url":"https://api.github.com/users/yfakariya/gists{/gist_id}","starred_url":"https://api.github.com/users/yfakariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yfakariya/subscriptions","organizations_url":"https://api.github.com/users/yfakariya/orgs","repos_url":"https://api.github.com/users/yfakariya/repos","events_url":"https://api.github.com/users/yfakariya/events{/privacy}","received_events_url":"https://api.github.com/users/yfakariya/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T14:01:57Z","updated_at":"2016-11-29T14:01:57Z","body":"Sorry for delay and thank you for repost.\r\n`IndexOutOfBoundException` means bug. I will investigate and fix it."}}
{"actor":{"display_login":"yfakariya"}}