{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/5544","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/5544/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/5544/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/5544/events","html_url":"https://github.com/dotnet/roslyn/issues/5544","id":108967324,"number":5544,"title":"InteractiveWindow tests that uses system clipboard fails with COM exception intermittently","user":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Infrastructure","name":"Area-Infrastructure","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Interactive-Scripting","name":"Interactive-Scripting","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"genlu","id":788783,"avatar_url":"https://avatars.githubusercontent.com/u/788783?v=3","gravatar_id":"","url":"https://api.github.com/users/genlu","html_url":"https://github.com/genlu","followers_url":"https://api.github.com/users/genlu/followers","following_url":"https://api.github.com/users/genlu/following{/other_user}","gists_url":"https://api.github.com/users/genlu/gists{/gist_id}","starred_url":"https://api.github.com/users/genlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genlu/subscriptions","organizations_url":"https://api.github.com/users/genlu/orgs","repos_url":"https://api.github.com/users/genlu/repos","events_url":"https://api.github.com/users/genlu/events{/privacy}","received_events_url":"https://api.github.com/users/genlu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/3","html_url":"https://github.com/dotnet/roslyn/milestones/1.1","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/3/labels","id":937401,"number":3,"title":"1.1","description":"This is our 1.1 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":1.5}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":271,"closed_issues":473,"state":"open","created_at":"2015-01-15T20:48:41Z","updated_at":"2015-10-01T23:24:36Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-29T21:50:48Z","updated_at":"2015-10-01T23:24:36Z","closed_at":"2015-10-01T23:24:36Z","body":"see http://dotnet-ci.cloudapp.net/job/dotnet_roslyn_master_win_dbg_32/1928/console\r\n\r\n```  \r\nErrors Roslyn.InteractiveWindow.UnitTests.dll: \r\n  Command: C:\\Users\\dotnet-bot\\.nuget\\packages\\xunit.runners\\2.0.0-alpha-build2576\\tools\\xunit.console.x86.exe \"Binaries\\Debug\\Roslyn.InteractiveWindow.UnitTests.dll\" -xml \"Binaries\\Debug\\Roslyn.InteractiveWindow.UnitTests.TestResults.xml\" -noshadow\r\n     Microsoft.VisualStudio.InteractiveWindow.UnitTests.InteractiveWindowTests.PasteWithOutSelectionInReadOnlyArea [FAIL]\r\n        System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.\\r\\n---- System.Runtime.InteropServices.COMException : OpenClipboard Failed (Exception from HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN))\r\n        Stack Trace:\r\n              at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n              at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n              at System.Delegate.DynamicInvokeImpl(Object[] args)\r\n              at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n              at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n              at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n              at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)\r\n              at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n              at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n              at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n              at System.Windows.Threading.DispatcherOperation.Invoke()\r\n              at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n              at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n              at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n              at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n              at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n              at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n              at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n              at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n              at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)\r\n              at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)\r\n              at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)\r\n              at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)\r\n              at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)\r\n              at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)\r\n              at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority)\r\n           src\\EditorFeatures\\TestUtilities\\Async\\WaitHelper.cs(17,0): at Roslyn.Test.Utilities.WaitHelper.WaitForDispatchedOperationsToComplete(DispatcherPriority priority)\r\n           src\\EditorFeatures\\TestUtilities\\Async\\WaitHelper.cs(41,0): at Roslyn.Test.Utilities.WaitHelper.PumpingWaitAll(IEnumerable`1 tasks)\r\n           src\\EditorFeatures\\TestUtilities\\Async\\WaitHelper.cs(22,0): at Roslyn.Test.Utilities.WaitHelper.PumpingWait(Task task)\r\n           src\\InteractiveWindow\\EditorTest\\InteractiveWindowTests.cs(1233,0): at Microsoft.VisualStudio.InteractiveWindow.UnitTests.InteractiveWindowTests.PasteWithOutSelectionInReadOnlyArea()\r\n           ----- Inner Stack Trace -----\r\n              at System.Runtime.InteropServices.ComTypes.IDataObject.GetData(FORMATETC& format, STGMEDIUM& medium)\r\n              at System.Windows.DataObject.OleConverter.GetDataInner(FORMATETC& formatetc, STGMEDIUM& medium)\r\n              at System.Windows.DataObject.OleConverter.GetDataFromOleHGLOBAL(String format, DVASPECT aspect, Int32 index)\r\n              at System.Windows.DataObject.OleConverter.GetDataFromBoundOleDataObject(String format, DVASPECT aspect, Int32 index)\r\n              at System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert, DVASPECT aspect, Int32 index)\r\n              at System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert)\r\n              at System.Windows.DataObject.GetData(String format, Boolean autoConvert)\r\n              at System.Windows.Clipboard.GetDataInternal(String format)\r\n              at System.Windows.Clipboard.GetData(String format)\r\n           src\\InteractiveWindow\\Editor\\InteractiveWindow.UIThreadOnly.cs(607,0): at Microsoft.VisualStudio.InteractiveWindow.InteractiveWindow.UIThreadOnly.Paste()\r\n           src\\InteractiveWindow\\Editor\\InteractiveWindow.cs(255,0): at Microsoft.VisualStudio.InteractiveWindow.InteractiveWindow.<>c.<Microsoft.VisualStudio.InteractiveWindow.IInteractiveWindowOperations.Paste>b__42_0(UIThreadOnly uiOnly)\r\n```"}}