This is really weird. Something has happened in Welkin Suite which is causing it to crash every time I press the comma (,) key in a method signature (to add a new argument). As soon as I hit comma, I get an error message (see attachement), and Welkin Suite crashes. I have tried rebooting, recreating my project, uninstalling/reinstalling TWS (with reboots in between), and nothing seems to help. I haven't seen the issue in any other place except adding arguments to method signature.
The error message which pops up has led me to a log file about the event, which says something about a null-pointer error. I have included the event log below, as well as screenshots.
Any help would be appreciated. I cannot work while this is broken. :-(
This is in version 0.29.10.4
I'm no expert, but I think I pulled out the relevant stack trace from the error log:
System.NullReferenceException: Object reference not set to an instance of an object. at WelkinSuite.ApexIncrementalParser.Implementation.ApexAst.TypeDefinitionExtensions.TypeDefinitionToString(TypeDefinition typeDefinition) at WelkinSuite.ApexIncrementalParser.Implementation.ApexAst.MethodDefinition.GetDescription() at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.Providers.MembersProvider.IntervalsToCompletionItem(Dictionary`2 intervals, Boolean includeFormalParams) at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.Providers.MembersProvider.GetAllItemsFromGlobalAndCurrentScope() at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.Providers.MembersProvider.GetItems() at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.Providers.MembersProvider.GetCompletionItems(CodeCompletionContextData context) at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.CompletionManager.<>c__DisplayClass5.<GetCodeCompletions>b__2(ICompletionItemsProvider completionItemsProvider) at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext() at WelkinSuite.ApexIncrementalParser.Implementation.Analyzers.CodeCompletion.CompletionManager.GetCodeCompletions(String filePath, Int32 bufferPosition, Boolean isDefaultStrategy, String contextString, Int32 contextStringStartPosition) at WelkinSuite.ApexCodeAssistance.Implementation.CodeCompletion.ApexCodeCompletionController.TriggerCompletionSession(Boolean defaultStrategy) at WelkinSuite.ApexCodeAssistance.Implementation.CodeCompletion.ApexCodeCompletionController.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at WelkinSuite.EditorExtensions.Implementation.BraceCompletion.BraceCompletionController.Exec(Guid& pguidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at WelkinSuite.EditorExtensions.Implementation.Features.CodeFormatFeature.CommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at WelkinSuite.EditorExtensions.Implementation.Features.DuplicateRowFeature.CommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at WelkinSuite.EditorExtensions.Implementation.LanguageServices.ApexCommentsController.Exec(Guid& pguidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at WelkinSuite.CodeSnippets.Implementation.ApexSnippetController.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<DispatchTextInputEvents>b__0(KeyProcessor p, TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.<Dispatch>b__1a() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)