{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/CodeAnalysis/issues/1","repository_url":"https://api.github.com/repos/Microsoft/CodeAnalysis","labels_url":"https://api.github.com/repos/Microsoft/CodeAnalysis/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/CodeAnalysis/issues/1/comments","events_url":"https://api.github.com/repos/Microsoft/CodeAnalysis/issues/1/events","html_url":"https://github.com/Microsoft/CodeAnalysis/issues/1","id":251827999,"number":1,"title":"VS 2017 exception cause by extension","user":{"login":"kaifeong","id":19897419,"avatar_url":"https://avatars3.githubusercontent.com/u/19897419?v=4","gravatar_id":"","url":"https://api.github.com/users/kaifeong","html_url":"https://github.com/kaifeong","followers_url":"https://api.github.com/users/kaifeong/followers","following_url":"https://api.github.com/users/kaifeong/following{/other_user}","gists_url":"https://api.github.com/users/kaifeong/gists{/gist_id}","starred_url":"https://api.github.com/users/kaifeong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaifeong/subscriptions","organizations_url":"https://api.github.com/users/kaifeong/orgs","repos_url":"https://api.github.com/users/kaifeong/repos","events_url":"https://api.github.com/users/kaifeong/events{/privacy}","received_events_url":"https://api.github.com/users/kaifeong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-22T03:29:16Z","updated_at":"2017-08-22T03:29:16Z","closed_at":null,"body":"I randomly encountered exception in CodeAnalysis based on ActivityLog.xml when I'm writing TypeScript (.ts) in Visual Studio 2017. Below are the details:\r\n\r\n- Error:\r\n![capture](https://user-images.githubusercontent.com/19897419/29547317-ea3e1d00-872b-11e7-8fa3-b380de39560b.PNG)\r\n\r\n- ActivityLog.xml\r\n\r\n>   <entry>\r\n    <record>1204</record>\r\n    <time>2017/08/22 03:12:21.770</time>\r\n    <type>Error</type>\r\n    <source>Editor or Editor Extension</source>\r\n    <description>System.InvalidOperationException: Master edit already in progress&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Implementation.BufferGroup.PerformMasterEdit(ITextBuffer buffer, ISubordinateTextEdit xedit, EditOptions options, Object editTag)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Implementation.TextBuffer.BasicEdit.PerformApply()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Implementation.BaseBuffer.TextBufferEdit.Apply()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.BufferUndoManager.Implementation.TextBufferChangeUndoPrimitive.Undo()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Shared.Utilities.HACK_TextUndoTransactionThatRollsBackProperly.Cancel()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Shared.Utilities.CaretPreservingEditTransaction.Cancel()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Shared.Utilities.CaretPreservingEditTransaction.Dispose()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.TryFormat(ITextView textView, Document document, IEditorFormattingService formattingService, Char typedChar, Int32 position, Boolean formatOnReturn, CancellationToken cancellationToken)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteReturnOrTypeCommand(CommandArgs args, Action nextHandler, CancellationToken cancellationToken)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Formatting.FormatCommandHandler.ExecuteCommand(TypeCharCommandArgs args, Action nextHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.&lt;&gt;c__DisplayClass6_1`1.&lt;ExecuteHandlers&gt;b__1()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.RenameCommandHandler.HandlePossibleTypingCommand(CommandArgs args, Action nextHandler, Action`1 actionIfInsideActiveSpan)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.InlineRename.RenameCommandHandler.ExecuteCommand(TypeCharCommandArgs args, Action nextHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.&lt;&gt;c__DisplayClass6_1`1.&lt;ExecuteHandlers&gt;b__1()&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.SignatureHelp.Controller.Microsoft.CodeAnalysis.Editor.ICommandHandler&lt;Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs&gt;.ExecuteCommand(TypeCharCommandArgs args, Action nextHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.CommandHandlers.SignatureHelpCommandHandler.ExecuteCommandWorker[TCommandArgs](TCommandArgs args, Action nextHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.CommandHandlers.SignatureHelpCommandHandler.Microsoft.CodeAnalysis.Editor.ICommandHandler&lt;Microsoft.CodeAnalysis.Editor.Commands.TypeCharCommandArgs&gt;.ExecuteCommand(TypeCharCommandArgs args, Action nextHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.ExecuteHandlers[T](IList`1 commandHandlers, T args, Action lastHandler)&#x000D;&#x000A;   at Microsoft.CodeAnalysis.Editor.Implementation.Commands.CommandHandlerService.Microsoft.CodeAnalysis.Editor.ICommandHandlerService.Execute[T](IContentType contentType, T args, Action lastHandler)&#x000D;&#x000A;   at Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.ExecuteTypeCharacter(IntPtr pvaIn, ITextBuffer subjectBuffer, IContentType contentType, Action executeNextCommandTarget)&#x000D;&#x000A;   at Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.ExecuteVisualStudio2000(Guid&amp; pguidCmdGroup, UInt32 commandId, UInt32 executeInformation, IntPtr pvaIn, IntPtr pvaOut, ITextBuffer subjectBuffer, IContentType contentType)&#x000D;&#x000A;   at Microsoft.VisualStudio.LanguageServices.Implementation.AbstractOleCommandTarget.Exec(Guid&amp; pguidCmdGroup, UInt32 commandId, UInt32 executeInformation, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at (Object , Guid&amp; , UInt32 , UInt32 , IntPtr , IntPtr )&#x000D;&#x000A;   at A.c49885434a1d8c8f81133d020dd5f62bf.c0012a3cfd6f80130a0508007ae497b4b(Object , Guid&amp; , UInt32 , UInt32 , IntPtr , IntPtr )&#x000D;&#x000A;   at A.c57459831c517742d5e83156c08747c3a.ccb62ce45c5a7c7e3ebb8ed49638752a7.c2982fd93cf67b24551ab2e6b1cdff910(Guid&amp; , UInt32 , UInt32 , IntPtr , IntPtr )&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)&#x000D;&#x000A;   at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.&lt;&gt;c.&lt;DispatchTextInputEvents&gt;b__6_0(KeyProcessor p, TextCompositionEventArgs args)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.&lt;&gt;c__DisplayClass10_1`1.&lt;Dispatch&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)</description>\r\n  </entry>\r\n\r\n"}}
{"actor":{"display_login":"kaifeong"}}