Bug: ArgumentException When Typing Relative Paths

Posted by Community Admin on 05-Aug-2018 17:00

Bug: ArgumentException When Typing Relative Paths

All Replies

Posted by Community Admin on 10-Jun-2015 00:00

When typing relative paths, the Thunder VS extension throws an exception intermittently while the Intellisense suggestions popup is visible. This causes an exception dialog to be displayed and logs an entry like tthe following in %appdata%/Roaming/Microsoft/VisualStudio/12.0/ActivityLog.xml:

 <entry>
    <record>1050</record>
    <time>2015/06/10 16:41:52.874</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>
        System.ArgumentException: Illegal characters in path.
            at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
            at System.IO.Path.Combine(String[] paths)
            at Telerik.Sitefinity.Thunder.SfIntellisense.RelativePaths.RelativePathsSource.FindRelativePaths(Project sitefinityProject, String currentLineText)
            at Telerik.Sitefinity.Thunder.SfIntellisense.RelativePaths.RelativePathsSource.FindPaths(ICompletionSession session)
            at Telerik.Sitefinity.Thunder.SfIntellisense.RelativePaths.RelativePathsSource.AugmentCompletionSession(ICompletionSession session, IList`1 completionSets)
            at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Start()
            at Telerik.Sitefinity.Thunder.SfIntellisense.ThunderCompletionCommandHandler.TriggerCompletion()
            at Telerik.Sitefinity.Thunder.SfIntellisense.RelativePaths.RelativePathsCommandHandler.TriggerCompletion()
            at Telerik.Sitefinity.Thunder.SfIntellisense.ThunderCompletionCommandHandler.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Telerik.Sitefinity.Thunder.SfIntellisense.RelativePaths.RelativePathsCommandHandler.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at MadsKristensen.EditorExtensions.Commands.CommandExceptionFilter.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at MadsKristensen.EditorExtensions.CommandTargetBase`1.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at MadsKristensen.EditorExtensions.CommandTargetBase`1.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at MadsKristensen.EditorExtensions.CommandTargetBase`1.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at MadsKristensen.EditorExtensions.CommandTargetBase`1.Exec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid&amp; pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
            at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid&amp; 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)
    </description>
  </entry>​

I'm running VS Premium 2013 version 4.5.51650 and Sitefinity Thunder ​version 1.3.7.2. The MadsKristensen references deeper in the stack trace are from Web Essentials 2013 version 2.5.3.

Following this exception, I get a series of error notifications that say "Cannot Filter. The session is not yet started." I have attached an image of this.

This thread is closed