ArgumentOutOfRangeException
1 post
• Page 1 of 1
ArgumentOutOfRangeException
Hi,
I thought I'd report this exception and the contents of the entry in my ActivityLog so you have more information to diagnose and fix the problem. I know that others have the same problem. Maybe some details in this log will help.
I'm using VS 2015 Update 3.
<entry>
<record>753</record>
<time>2017/03/21 19:37:52.215</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
 at System.String.Substring(Int32 startIndex, Int32 length)
 at Microsoft.Web.Editor.Text.TextProvider.GetText(Int32 position, Int32 length)
 at Microsoft.Web.Editor.Text.TextProvider.GetText(ITextRange range)
 at Microsoft.Html.Core.Artifacts.ArtifactCollection.IsDestructiveChangeForItemSeparators(IArtifact item, ISensitiveFragmentSeparatorsInfo separatorInfo, String actualRightSeparator, Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Core.Parser.Fragments.SensitiveFragmentCollection`1.IsDestructiveChangeForSeparator(ISensitiveFragmentSeparatorsInfo separatorInfo, IReadOnlyList`1 itemsInRange, Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Core.Parser.Fragments.SensitiveFragmentCollection`1.IsDestructiveChange(Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Editor.Tree.TextChangeAnalyzer.ChangeInsideArtifact(TextChangeContext change)
 at Microsoft.Html.Editor.Tree.TextChangeAnalyzer.DetermineChangeType(TextChangeContext change)
 at Microsoft.Html.Editor.Tree.TreeUpdateTask.OnTextChanges(List`1 textChanges)
 at Microsoft.Html.Editor.Tree.HtmlEditorTree.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
Regards.
I thought I'd report this exception and the contents of the entry in my ActivityLog so you have more information to diagnose and fix the problem. I know that others have the same problem. Maybe some details in this log will help.
I'm using VS 2015 Update 3.
<entry>
<record>753</record>
<time>2017/03/21 19:37:52.215</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
 at System.String.Substring(Int32 startIndex, Int32 length)
 at Microsoft.Web.Editor.Text.TextProvider.GetText(Int32 position, Int32 length)
 at Microsoft.Web.Editor.Text.TextProvider.GetText(ITextRange range)
 at Microsoft.Html.Core.Artifacts.ArtifactCollection.IsDestructiveChangeForItemSeparators(IArtifact item, ISensitiveFragmentSeparatorsInfo separatorInfo, String actualRightSeparator, Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Core.Parser.Fragments.SensitiveFragmentCollection`1.IsDestructiveChangeForSeparator(ISensitiveFragmentSeparatorsInfo separatorInfo, IReadOnlyList`1 itemsInRange, Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Core.Parser.Fragments.SensitiveFragmentCollection`1.IsDestructiveChange(Int32 start, Int32 oldLength, Int32 newLength, ITextProvider oldText, ITextProvider newText)
 at Microsoft.Html.Editor.Tree.TextChangeAnalyzer.ChangeInsideArtifact(TextChangeContext change)
 at Microsoft.Html.Editor.Tree.TextChangeAnalyzer.DetermineChangeType(TextChangeContext change)
 at Microsoft.Html.Editor.Tree.TreeUpdateTask.OnTextChanges(List`1 textChanges)
 at Microsoft.Html.Editor.Tree.HtmlEditorTree.OnTextBufferChanged(Object sender, TextContentChangedEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)</description>
</entry>
Regards.
- rmgalante
- Posts: 1
- Joined: March 21st, 2017, 7:45 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 46 guests