{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/PTVS/issues/454","labels_url":"https://api.github.com/repos/Microsoft/PTVS/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/PTVS/issues/454/comments","events_url":"https://api.github.com/repos/Microsoft/PTVS/issues/454/events","html_url":"https://github.com/Microsoft/PTVS/issues/454","id":89081771,"number":454,"title":"NullReferenceException in CreateOrAddVirtualEnvironment","user":{"login":"zooba","id":1693688,"avatar_url":"https://avatars.githubusercontent.com/u/1693688?v=3","gravatar_id":"","url":"https://api.github.com/users/zooba","html_url":"https://github.com/zooba","followers_url":"https://api.github.com/users/zooba/followers","following_url":"https://api.github.com/users/zooba/following{/other_user}","gists_url":"https://api.github.com/users/zooba/gists{/gist_id}","starred_url":"https://api.github.com/users/zooba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooba/subscriptions","organizations_url":"https://api.github.com/users/zooba/orgs","repos_url":"https://api.github.com/users/zooba/repos","events_url":"https://api.github.com/users/zooba/events{/privacy}","received_events_url":"https://api.github.com/users/zooba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/PTVS/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Microsoft/PTVS/labels/Environments","name":"Environments","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T17:52:36Z","updated_at":"2015-06-17T17:52:36Z","closed_at":null,"body":"Can't tell exactly where it is, though presumably it's after the await.\r\n\r\nWild guess says we're cleaning up and `_interpreters` is null.\r\n\r\n```\r\nFirst-chance exception: System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Microsoft.PythonTools.Project.PythonProjectNode.<CreateOrAddVirtualEnvironment>d__148.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.PythonTools.Project.AddVirtualEnvironmentOperation.<Run>d__10.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.PythonTools.Project.AddVirtualEnvironmentView.<Create>d__105.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n```"}}