{"action":"closed","issue":{"url":"https://api.github.com/repos/neuecc/CloudStructures/issues/7","labels_url":"https://api.github.com/repos/neuecc/CloudStructures/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/neuecc/CloudStructures/issues/7/comments","events_url":"https://api.github.com/repos/neuecc/CloudStructures/issues/7/events","html_url":"https://github.com/neuecc/CloudStructures/issues/7","id":104444673,"number":7,"title":"Jil.DeserializationException : Error occurred building a deserializer for Customer","user":{"login":"ashuthinks","id":3287696,"avatar_url":"https://avatars.githubusercontent.com/u/3287696?v=3","gravatar_id":"","url":"https://api.github.com/users/ashuthinks","html_url":"https://github.com/ashuthinks","followers_url":"https://api.github.com/users/ashuthinks/followers","following_url":"https://api.github.com/users/ashuthinks/following{/other_user}","gists_url":"https://api.github.com/users/ashuthinks/gists{/gist_id}","starred_url":"https://api.github.com/users/ashuthinks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashuthinks/subscriptions","organizations_url":"https://api.github.com/users/ashuthinks/orgs","repos_url":"https://api.github.com/users/ashuthinks/repos","events_url":"https://api.github.com/users/ashuthinks/events{/privacy}","received_events_url":"https://api.github.com/users/ashuthinks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T10:00:42Z","updated_at":"2015-09-02T10:08:33Z","closed_at":"2015-09-02T10:08:33Z","body":"Getting runtime exception while execute my test case why so?\r\n\r\nResult Message: \r\nJil.DeserializationException : Error occurred building a deserializer for Customer: Expected a parameterless constructor for System.Collections.Generic.ICollection1[MyDemoClass] ---- Jil.Common.ConstructionException : Expected a parameterless constructor for System.Collections.Generic.ICollection1[MyDemoClass]\r\nResult StackTrace:\r\n\r\nat _DynamicMethod22(TextReader , Int32 )\r\nat Jil.JSON.DeserializeT in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\JSON.cs:line 2047\r\nat Jil.Deserialize.DeserializeIndirect.DeserializeFromStream(TextReader reader, Type type, Options options) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\DeserializeIndirect.cs:line 49\r\nat Jil.JSON.Deserialize(TextReader reader, Type type, Options options) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\JSON.cs:line 1971\r\nat CloudStructures.JsonRedisValueConverter.DeserializeCore(Type type, Byte[] value)\r\nat CloudStructures.ObjectRedisValueConverterBase.Deserialize(Type type, RedisValue value, Int64& valueSize)\r\nat CloudStructures.RedisValueConverterExtensions.DeserializeT\r\nat CloudStructures.RedisDictionary2.<>c__DisplayClass7_1.<Values>b__1(RedisValue x) at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()\r\nat System.Linq.Buffer1..ctor(IEnumerable1 source)\r\nat System.Linq.Enumerable.ToArrayTSource\r\nat CloudStructures.RedisDictionary2.<>c__DisplayClass7_0.<<Values>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()\r\nat CloudStructures.TraceHelper.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\nat Test.cs:line 48\r\n--- End of stack trace from previous location where exception was thrown ---\r\nat System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\nat System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nat System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Test.cs:line 31 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() ----- Inner Stack Trace ----- at Jil.Deserialize.InlineDeserializer1.ReadObjectAutomata(Type objType) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 1432\r\nat Jil.Deserialize.InlineDeserializer1.ReadObject(Type objType) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 1344 at Jil.Deserialize.InlineDeserializer1.Build(Type forType, Boolean allowRecursion) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 2204\r\nat Jil.Deserialize.InlineDeserializer1.ReadObjectAutomata(Type objType) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 1539 at Jil.Deserialize.InlineDeserializer1.ReadObject(Type objType) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 1344\r\nat Jil.Deserialize.InlineDeserializer1.Build(Type forType, Boolean allowRecursion) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 2204 at Jil.Deserialize.InlineDeserializer1.BuildWithNew(Type forType) in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 2234\r\nat Jil.Deserialize.InlineDeserializer`1.BuildWithNewDelegate() in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 2253\r\nat Jil.Deserialize.InlineDeserializerHelper.BuildFromStreamReturnType in c:\\Users\\kevin_000\\Dropbox\\jil\\Jil\\Deserialize\\InlineDeserializer.cs:line 2311"}}