{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/1624","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/1624/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/1624/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/1624/events","html_url":"https://github.com/dotnet/orleans/issues/1624","id":144746462,"number":1624,"title":"Generic grain extension call causes it's activation request to fail.","user":{"login":"dVakulen","id":5787619,"avatar_url":"https://avatars.githubusercontent.com/u/5787619?v=3","gravatar_id":"","url":"https://api.github.com/users/dVakulen","html_url":"https://github.com/dVakulen","followers_url":"https://api.github.com/users/dVakulen/followers","following_url":"https://api.github.com/users/dVakulen/following{/other_user}","gists_url":"https://api.github.com/users/dVakulen/gists{/gist_id}","starred_url":"https://api.github.com/users/dVakulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dVakulen/subscriptions","organizations_url":"https://api.github.com/users/dVakulen/orgs","repos_url":"https://api.github.com/users/dVakulen/repos","events_url":"https://api.github.com/users/dVakulen/events{/privacy}","received_events_url":"https://api.github.com/users/dVakulen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/orleans/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2016-03-30T23:19:39Z","updated_at":"2016-10-03T17:11:25Z","closed_at":"2016-10-03T17:11:25Z","body":"The first request to generic grain using it's non-generic or generic with different from the grain's type arguments extension reference leads to the following exception: \r\n\r\n`Orleans.Runtime.OrleansException : Orleans.Runtime.OrleansException: Error creating activation for UnitTests.Grains.GenericGrain``1. Message NewPlacement Request S127.0.0.1:6515:197015154*cli/cfede2a7c->S127.0.0.1:6516:197015164*grn/CE1C219C/b47826ad@6595bbbc: global::Orleans.Async.IGenericGrainExtension:Test() ---> System.ArgumentException: Cannot create an instance of UnitTests.Grains.GenericGrain``1[T] because Type.ContainsGenericParameters is true.\\r\\n at System.RuntimeType.CreateInstanceCheckThis()\\r\\n at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)\\r\\n at System.Activator.CreateInstance(Type type, Boolean nonPublic)\\r\\n at System.Activator.CreateInstance(Type type)\\r\\n at Orleans.Runtime.Catalog.CreateGrainInstance(String grainTypeName, ActivationData data, String genericArguments) in src\\OrleansRuntime\\Catalog\\Catalog.cs:line 624\\r\\n at Orleans.Runtime.Catalog.SetupActivationInstance(ActivationData result, String grainType, String genericInterface) in \\src\\OrleansRuntime\\Catalog\\Catalog.cs:line 468\\r\\n at Orleans.Runtime.Catalog.GetOrCreateActivation(ActivationAddress address, Boolean newPlacement, String grainType, String genericArguments, Dictionary2 requestContextData, Task& activatedPromise) \\src\\OrleansRuntime\\Catalog\\Catalog.cs:line 454\\r\\n at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message) in src\\OrleansRuntime\\Core\\Dispatcher.cs:line 85\\r\\n --- End of inner exception stack trace ---\\r\\n at Orleans.Runtime.Dispatcher.ReceiveMessage(Message message) in src\\OrleansRuntime\\Core\\Dispatcher.cs:line 127`\r\n\r\n\r\nThis is regression after https://github.com/dotnet/orleans/pull/1604."}}
{"actor":{"display_login":"sergeybykov"}}