{"action":"created","issue":{"url":"https://api.github.com/repos/MathewSachin/Screna/issues/11","repository_url":"https://api.github.com/repos/MathewSachin/Screna","labels_url":"https://api.github.com/repos/MathewSachin/Screna/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/MathewSachin/Screna/issues/11/comments","events_url":"https://api.github.com/repos/MathewSachin/Screna/issues/11/events","html_url":"https://github.com/MathewSachin/Screna/issues/11","id":180358608,"number":11,"title":"Screna throwing unhandled NullReferenceException exception in OnStop","user":{"login":"MichielDean","id":11799003,"avatar_url":"https://avatars.githubusercontent.com/u/11799003?v=3","gravatar_id":"","url":"https://api.github.com/users/MichielDean","html_url":"https://github.com/MichielDean","followers_url":"https://api.github.com/users/MichielDean/followers","following_url":"https://api.github.com/users/MichielDean/following{/other_user}","gists_url":"https://api.github.com/users/MichielDean/gists{/gist_id}","starred_url":"https://api.github.com/users/MichielDean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichielDean/subscriptions","organizations_url":"https://api.github.com/users/MichielDean/orgs","repos_url":"https://api.github.com/users/MichielDean/repos","events_url":"https://api.github.com/users/MichielDean/events{/privacy}","received_events_url":"https://api.github.com/users/MichielDean/received_events","type":"User","site_admin":false},"labels":[{"id":304241120,"url":"https://api.github.com/repos/MathewSachin/Screna/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"MathewSachin","id":10654537,"avatar_url":"https://avatars.githubusercontent.com/u/10654537?v=3","gravatar_id":"","url":"https://api.github.com/users/MathewSachin","html_url":"https://github.com/MathewSachin","followers_url":"https://api.github.com/users/MathewSachin/followers","following_url":"https://api.github.com/users/MathewSachin/following{/other_user}","gists_url":"https://api.github.com/users/MathewSachin/gists{/gist_id}","starred_url":"https://api.github.com/users/MathewSachin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathewSachin/subscriptions","organizations_url":"https://api.github.com/users/MathewSachin/orgs","repos_url":"https://api.github.com/users/MathewSachin/repos","events_url":"https://api.github.com/users/MathewSachin/events{/privacy}","received_events_url":"https://api.github.com/users/MathewSachin/received_events","type":"User","site_admin":false},"assignees":[{"login":"MathewSachin","id":10654537,"avatar_url":"https://avatars.githubusercontent.com/u/10654537?v=3","gravatar_id":"","url":"https://api.github.com/users/MathewSachin","html_url":"https://github.com/MathewSachin","followers_url":"https://api.github.com/users/MathewSachin/followers","following_url":"https://api.github.com/users/MathewSachin/following{/other_user}","gists_url":"https://api.github.com/users/MathewSachin/gists{/gist_id}","starred_url":"https://api.github.com/users/MathewSachin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathewSachin/subscriptions","organizations_url":"https://api.github.com/users/MathewSachin/orgs","repos_url":"https://api.github.com/users/MathewSachin/repos","events_url":"https://api.github.com/users/MathewSachin/events{/privacy}","received_events_url":"https://api.github.com/users/MathewSachin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-09-30T17:26:15Z","updated_at":"2016-11-13T19:21:15Z","closed_at":null,"body":"I am using Screna to write screenshots of our selenium tests to a video.\nWhen I stop the video, Screna.Recorder.OnStop() is throwing a NullReferenceException. This is intermittently happening.\n\nHere is the stack trace:\nApplication: QTAgent32_40.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.NullReferenceException\n   at Screna.Recorder.OnStop()\n   at Screna.RecorderBase.Stop()\n   at Screna.Recorder.Record()\n   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)\n   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)\n   at System.Threading.ThreadHelper.ThreadStart()\n\nI tired making some changes to the recorder class, but have been unsuccessful so far.\n"},"comment":{"url":"https://api.github.com/repos/MathewSachin/Screna/issues/comments/260206045","html_url":"https://github.com/MathewSachin/Screna/issues/11#issuecomment-260206045","issue_url":"https://api.github.com/repos/MathewSachin/Screna/issues/11","id":260206045,"user":{"login":"MichielDean","id":11799003,"avatar_url":"https://avatars.githubusercontent.com/u/11799003?v=3","gravatar_id":"","url":"https://api.github.com/users/MichielDean","html_url":"https://github.com/MichielDean","followers_url":"https://api.github.com/users/MichielDean/followers","following_url":"https://api.github.com/users/MichielDean/following{/other_user}","gists_url":"https://api.github.com/users/MichielDean/gists{/gist_id}","starred_url":"https://api.github.com/users/MichielDean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichielDean/subscriptions","organizations_url":"https://api.github.com/users/MichielDean/orgs","repos_url":"https://api.github.com/users/MichielDean/repos","events_url":"https://api.github.com/users/MichielDean/events{/privacy}","received_events_url":"https://api.github.com/users/MichielDean/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T19:21:15Z","updated_at":"2016-11-13T19:21:15Z","body":"The object reference issue is much harder to track down. It might be safer to implement IDisposable on the recorder itself and move many of the dispose calls to that,"}}
{"actor":{"display_login":"MichielDean"}}