History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-39273
Type: Exception Exception
Status: Investigating Investigating
Priority: Critical Critical
Assignee: Sergey Coox
Reporter: Stefan Dobrev
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

startIndex cannot be larger than length of string.

Created: 21 Apr 07 14:15   Updated: 14 Dec 07 17:24
Component/s: Language - XAML
Fix Version/s: 3.1.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 416


 Description  « Hide
browsing xaml files
Build416, VSv8.0
JetBrains.Util.InternalErrorException: startIndex cannot be larger than length of string.
Parameter name: startIndex
An exception has occurred ---> System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at JetBrains.ReSharper.CodeInsight.Services.MatchingBraceHighlighting.MatchingBraceHighlightingUtil.PrepareRichText(ITextControl textControl, ITreeNode construct, ITreeNode stopperNode, Boolean addStopperStyle) in c:\Agent\work\Server\ReSharper-Main\src\CodeInsight.Services\src\MatchingBraceHighlighting\MatchingBraceHighlightingUtil.cs:line 153
at JetBrains.ReSharper.CodeInsight.Services.Xml.XmlMatchingBraceHighlightingProvider.InvisibleBraceHintProvider.GetHintText() in c:\Agent\work\Server\ReSharper-Main\src\CodeInsight.Services.Xml\src\XmlMatchingBraceHighlightingProvider.cs:line 425
at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.InvisibleBraceHint.ShowBraceHintOnTimer() in c:\Agent\work\Server\ReSharper-Main\src\CodeInsight\src\BracketMatchHighlighting\InvisibleBraceHint.cs:line 45
— End of inner exception stack trace —

at JetBrains.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.Util\src\Logger.cs:line 585 column 5
at JetBrains.Util.Logger.LogException(Exception) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.Util\src\Logger.cs:line 594 column 3
at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.InvisibleBraceHint.ShowBraceHintOnTimer() in c:\Agent\work\Server\ReSharper-Main\src\CodeInsight\src\BracketMatchHighlighting\InvisibleBraceHint.cs:line 63 column 9
at JetBrains.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\Server\ReSharper-Main\Platform\src\JetBrains.Shell\src\Alarm.cs:line 178 column 15
at System.Windows.Forms.Timer.OnTick(EventArgs)
at System.Windows.Forms.TimerNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)



 All   Comments   Work Log   Change History      Sort Order:
Sergey Coox - 26 Apr 07 20:23
Stefan, could you recall where have you got the exception?
I cannot reproduce it on build 423.

Stefan Dobrev - 18 Jun 07 16:43
I am not sure, but I think I was editing ResourceDictionanry xaml file.