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

Key: RSRP-31366
Type: Exception Exception
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Eugene Pasynkov
Reporter: Paul Laudeman
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: 07 Nov 06 21:20   Updated: 19 Mar 09 15:43
Component/s: None
Fix Version/s: 3.0 EAP
Security Level: Everybody (All jira users)

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

Build: 300


 Description  « Hide
Hit CTRL-SHIFT-B to build the entire solution
Build300, VS2005
JetBrains.ReSharper.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\ReSharper-Main\src\CodeInsight.Services\src\MatchingBraceHighlighting\MatchingBraceHighlightingUtil.cs:line 142
at JetBrains.ReSharper.CodeInsight.Services.VB.VBMatchingBraceHighlightingProvider.InvisibleBraceHintProvider.GetText() in C:\Agent\work\ReSharper-Main\src\CodeInsight.Services.VB\src\VBMatchingBraceHighlightingProvider.vb:line 183
at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.InvisibleBraceHint.ShowBraceHintOnTimer() in c:\Agent\work\ReSharper-Main\src\CodeInsight\src\BracketMatchHighlighting\InvisibleBraceHint.cs:line 45
— End of inner exception stack trace —

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 343 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 355 column 5
at JetBrains.ReSharper.CodeInsight.BracketMatchHighlighting.InvisibleBraceHint.ShowBraceHintOnTimer() in c:\Agent\work\ReSharper-Main\src\CodeInsight\src\BracketMatchHighlighting\InvisibleBraceHint.cs:line 62 column 9
at JetBrains.ReSharper.Util.Alarm.OnTimer(Object, EventArgs) in c:\Agent\work\ReSharper-Main\src\Shell\src\Alarm.cs:line 177 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:
Paul Laudeman - 10 Nov 06 02:18
Previous exception:RSRP-31560
Build301, VS2005

Paul Laudeman - 10 Nov 06 03:07
Copy and paste
Build301, VS2005

Dave Newman - 14 Nov 06 09:39
Build301, VS2005

Olga Lobacheva - 16 Nov 06 13:21
build of 15 november
Build304, VS2005

John Campion - 16 Nov 06 22:17
Build301, VS2005

Anonymous - 05 Dec 06 19:40
"Undo Checkout" with a source control system with file overwrite caused the following error:
Build312, VS2005

Shane Courtrille - 12 Dec 06 23:41
moving around in the source code using page up/down
Build324, VS2005

Stephen Oakman - 14 Dec 06 18:40
Commented out a Namespace in VB.net and was about to comment out the End Namespace when it bombed
Build326, VS2005

Anonymous - 14 Dec 06 21:14
Build326, VS2005

Stephen Oakman - 19 Dec 06 16:28
Pasting in some VB code into a VB interface (about to remove the implementation) when it went bang
Build326, VS2005

Stephen Oakman - 19 Dec 06 18:04
Previous exception:RSRP-31366
Build326, VS2005

Shane Courtrille - 20 Dec 06 23:39
Switching between vb files using ctrl+tab
Build326, VS2005

Anonymous - 21 Dec 06 20:57
Build312, VS2005

Russ Harding - 08 Jan 07 01:39
Build326, VS2005

Anonymous - 08 Jan 07 13:53
Build326, VS2005

Paul Laudeman - 08 Jan 07 21:59
Pasted something from my clipboard into a empty VB project (the paste contained a vb function)
Build326, VS2005

Stephen Oakman - 10 Jan 07 19:23
Undoing a large paste
Build330, VS2005

Anonymous - 11 Jan 07 20:16
Working in VS2005, but on a project that is written in VB.Net 2.0. Resharper is intalled in my IDE, but of course I'm not using it. Using Refactor!Pro from DevExpress for this VB project.
Build326, VS2005

Shane Courtrille - 11 Jan 07 23:28
Added a parameter to a method that was missing one.
Build326, VS2005

corm11 - 12 Jan 07 21:34
editing some peculiar code....
  • missing end If in the VB code
    Build326, VS2005

Anonymous - 13 Jan 07 14:34
Build326, VS2005

Stephen Oakman - 15 Jan 07 19:37
Build330, VS2005

Anonymous - 18 Jan 07 13:20
Build326, VS2005

Anonymous - 19 Jan 07 19:21
Scrolling down using the mouse wheel.
Build337, VS2005

Scott Schecter - 23 Jan 07 20:31
Build326, VS2005

Scott Schecter - 23 Jan 07 20:33
Previous exception:RSRP-31366
Build326, VS2005

Scott Schecter - 26 Jan 07 18:19
Build326, VS2005

Anonymous - 26 Jan 07 22:38
Build333, VS2005

Oleg Stepanov - 01 Feb 07 17:14
Build0(Internal), VS2005

Anonymous - 02 Feb 07 12:54
Build326, VS2005

Christopher Joseph - 02 Feb 07 14:21
Build326, VS2005

Anonymous - 06 Feb 07 20:02
Build337, VS2005

Anonymous - 07 Feb 07 17:16
Adding a line to a VB source code file!!
Build326, VS2005

Christopher Joseph - 09 Feb 07 13:46
Build326, VS2005

Anonymous - 12 Feb 07 06:59
Creating a class inheriting from the System.Web.Security.MembershipProvider class.
Build337, VS2005

Olga Lobacheva - 12 Feb 07 22:29
paste code in some vb file after al code there
Imports Foo

namespace Foo
  public module FooModule
    public sub H()
    End Sub
  End Module
End NameSpace

Namespace Bar
  public class BarClass
    public sub BarMethod
      H()
    End Sub
  End Class
End Namespace

Build0(Internal), VS2005


Olga Lobacheva - 12 Feb 07 22:30
I can reproduce it...

Olga Lobacheva - 12 Feb 07 22:31
Previous exception:RSRP-31366
Build0(Internal), VS2005

Serge Baltic - 12 Feb 07 22:37
Build0(Internal), VS2005

Anonymous - 22 Feb 07 17:35
Previous exception:RSRP-31707
Build337, VS2005

Anonymous - 23 Feb 07 00:19
Build337, VS2005

Richard Lasker - 24 Feb 07 20:26


Build326, VS2005

Richard Lasker - 24 Feb 07 20:28
Previous exception:RSRP-31366
Build326, VS2005

Richard Lasker - 24 Feb 07 20:28
Previous exception:RSRP-31366
Build326, VS2005

Richard Lasker - 24 Feb 07 22:35
Build326, VS2005

Richard Lasker - 24 Feb 07 22:36
Previous exception:RSRP-31366

I'm not doing anything WTF!!!!!! Crash after crash after crash
Build326, VS2005


Richard Lasker - 24 Feb 07 22:39
Previous exception:RSRP-31366
Build326, VS2005

Anonymous - 27 Feb 07 05:03
Opened my project, nothing else.
Build337, VS2005

Anonymous - 27 Feb 07 22:11
Build337, VS2005

Anonymous - 28 Feb 07 23:00
Build337, VS2005

Anonymous - 03 Mar 07 18:14
Edit VB file
Build337, VS2005

Anonymous - 06 Mar 07 15:34
Build337, VS2005

Anonymous - 06 Mar 07 20:52
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 09 Mar 07 16:49
Build337, VS2005

Anonymous - 12 Mar 07 13:13
Build326, VS2005

Anonymous - 19 Mar 07 13:17
Select an "End Try" line within a VB-file
Build337, VS2005

Dr.Shafqat Balouch - 19 Mar 07 22:31
Build337, VS2005

Anonymous - 20 Mar 07 04:35
Build337, VS2005

Anonymous - 20 Mar 07 04:49
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 20 Mar 07 04:54
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 21 Mar 07 21:03
Build326, VS2005

Anonymous - 23 Mar 07 17:51
Build337, VS2005

Anonymous - 26 Mar 07 19:54
Build337, VS2005

Anonymous - 28 Mar 07 18:34
Build326, VS2005

Anonymous - 29 Mar 07 22:00
Editing Vb-code. Commenting out one line at a time with '.
1: Comment code by adding ' at the beginning of the line
2: Press down arrow to go to next line
Build337, VS2005

Seenu Tulluri - 30 Mar 07 00:22
Build337, VS2005

Anonymous - 03 Apr 07 01:38
Build337, VS2005

Anonymous - 03 Apr 07 12:51
Build337, VS2005

Griffin Caprio - 05 Apr 07 01:49
Build351, VS2005

Anonymous - 05 Apr 07 18:37
Pasted code from VS 2003 (Not running Resharper) to VS 2005 (Running Resharper)
Build337, VS2005

Anonymous - 05 Apr 07 22:25
Build337, VS2005

Anonymous - 05 Apr 07 23:20
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 05 Apr 07 23:20
Previous exception:RSRP-31366
Build337, VS2005

Shane Courtrille - 16 Apr 07 22:50
Not sure what I did.. was alt tabbing through windows..
Build337, VS2005

Anonymous - 17 Apr 07 22:31


Build337, VS2005

Anonymous - 18 Apr 07 00:29



Build337, VS2005

Anonymous - 18 Apr 07 00:30
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 18 Apr 07 00:30
copying and pasting a property
Build337, VS2005

Anonymous - 19 Apr 07 07:56
Build337, VS2005

Anonymous - 20 Apr 07 08:49
Build337, VS2005

Anonymous - 20 Apr 07 18:23
Build337, VS2005

Kevin Miller - 20 Apr 07 20:08
Freaking long VB files crashing Resharper
Build337, VS2005

Patrick Burleson - 24 Apr 07 20:02
I removed a function from a VB class
Build326, VS2005

Anonymous - 26 Apr 07 18:26
Build376, VS2005

Anonymous - 01 May 07 20:56
Double clicking on a VB Handles claus
Build337, VS2005

Anonymous - 02 May 07 00:39
Build376, VS2005

Greg Law - 02 May 07 07:50
I was editing VB.NET code.
Build376, VS2005

Anonymous - 05 May 07 03:38
Sometimes this form appears for unknown reasons. It made it several times.
The last time it appeared, I was moving the mouse to activate the computer which was in a Standby mode.
Build376, VS2005

Anonymous - 07 May 07 09:43

Pressed enter to start a new line while editing a VB code file
Build337, VS2005


Anonymous - 07 May 07 12:44
Build337, VS2005

Anonymous - 07 May 07 22:56
Language: VB.Net

Actions: Editing nested "IF" statements. Moved pointer to get alt text for a syntax error involving an "End IF" without an "IF".
Build376, VS2005


Anonymous - 08 May 07 07:24
Build376, VS2005

Anonymous - 08 May 07 12:37
Build337, VS2005

Anonymous - 11 May 07 20:09
Build337, VS2005

Anonymous - 11 May 07 21:51
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 16 May 07 00:17
Build376, VS2005

Anonymous - 18 May 07 04:12
Build376, VS2005

Anonymous - 22 May 07 15:16
Browsing in solution explorer
Build326, VS2005

Anonymous - 25 May 07 02:49
debugging a vb.net web page that was talking to a sharepoint server using the sharepoint api.
Build376, VS2005

Anonymous - 25 May 07 19:11
At the end of a line, pressing shift+home
Build337, VS2005

Anonymous - 26 May 07 01:46
I clicked ctrl + tab to go to a file in another project.
Build376, VS2005

Anonymous - 26 May 07 01:48
Previous exception:RSRP-31366
Build376, VS2005

Anonymous - 26 May 07 03:23
Nothing just scrolling.
Build376, VS2005

Anonymous - 29 May 07 19:33
Build376, VS2005

Anonymous - 29 May 07 20:43
Build376, VS2005

Anonymous - 29 May 07 20:45
Previous exception:RSRP-31366
Build376, VS2005

Anonymous - 30 May 07 14:44
pasting an extra "end using" in preparation for adding a "using" at the top of a block
Build376, VS2005

Anonymous - 31 May 07 12:20
Build337, VS2005

Anonymous - 01 Jun 07 05:13
Build337, VS2005

Anonymous - 02 Jun 07 00:15
manually refactoring code not actually using resharpener at the time!
Build376, VS2005

Anonymous - 03 Jun 07 00:57
nothing
Build376, VS2005

Anonymous - 06 Jun 07 00:03
duplicate public shadows properties in scope (error displayed showed that they only differed by readonly and writeonly). clicked the right hand drop down to go to the other instance in order to delete it and error occured
Build376, VS2005

Anonymous - 07 Jun 07 15:17
comment code
Build329, VS2005

Warren Gates - 09 Jun 07 01:20
Build337, VS2005

Anonymous - 16 Jun 07 21:27
Build376, VS2005

Anonymous - 16 Jun 07 23:24
Scrolling to the end of the .vb file (that fie was not saved, but I pasted quite much into it).
Build376, VS2005

Anonymous - 18 Jun 07 11:27
Build337, VS2005

Anonymous - 18 Jun 07 11:47
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 18 Jun 07 11:53
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 18 Jun 07 11:54
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 19 Jun 07 08:56
Build376, VS2005

Anonymous - 19 Jun 07 08:57
Previous exception:RSRP-31366
Build376, VS2005

Anonymous - 21 Jun 07 19:00
I was just opening a Visual Studio 2005 project. VSS 6 is the source control.
Build337, VS2005

Anonymous - 22 Jun 07 21:54
Build337, VS2005

Anonymous - 22 Jun 07 21:54
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 25 Jun 07 17:06
scrolling with arrow keys

Build376, VS2005


Anonymous - 26 Jun 07 16:06
I'm commenting the line 'End If' of an statement that it was yet commented execpting this last line.
Build376, VS2005

Kevin Miller - 06 Jul 07 21:25
editting sucky huge VB file
Build337, VS2005

Anonymous - 11 Jul 07 13:27
Build337, VS2005

Anonymous - 11 Jul 07 16:08
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 12 Jul 07 13:29
Build337, VS2005

Anonymous - 12 Jul 07 17:40
Nothing
Build337, VS2005

Anonymous - 16 Jul 07 13:08


Build337, VS2005

Brian Downey - 20 Jul 07 16:58
Build380, VS2005

Anonymous - 30 Jul 07 11:19
Build376, VS2005

Anonymous - 14 Aug 07 12:41
Editing Vb code
Build376, VS2005

Anonymous - 16 Aug 07 19:36
Build337, VS2005

Anonymous - 16 Aug 07 19:53
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 16 Aug 07 19:54
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 05 Sep 07 06:00
Build376, VS2005

Anonymous - 07 Sep 07 02:07
working with sharepoint in vb.net
Build376, VS2005

Anonymous - 07 Sep 07 23:19
Build383, VS2005

Anonymous - 13 Sep 07 18:11
Build376, VS2005

Anonymous - 15 Sep 07 19:26
Build383, VS2005

Anonymous - 19 Sep 07 08:02
Build376, VS2005

Anonymous - 19 Sep 07 08:03
Previous exception:RSRP-31366
Build376, VS2005

Anonymous - 21 Nov 07 18:07
Previous exception:RSRP-32271
Build337, VS2005

Anonymous - 29 Nov 07 13:04
Previous exception:RSRP-32271
Build348, VS2005

Anonymous - 30 Nov 07 04:50


Build348, VS2005

Anonymous - 06 Dec 07 22:05

Build383, VS2005

Anonymous - 07 Dec 07 07:06
Previous exception:RSRP-33157
Build348, VS2005

Anonymous - 07 Dec 07 11:23
Previous exception:RSRP-31366
Build348, VS2005

Anonymous - 03 Jan 08 10:55
Build348, VS2005

Anonymous - 14 Jan 08 18:12



Build337, VS2005

Anonymous - 24 Jan 08 18:27
Build383, VS2005

Anonymous - 30 Jan 08 01:20
Build376, VS2005

Anonymous - 05 Feb 08 21:55
Build383, VS2005

Anonymous - 12 Feb 08 12:42
I pasted code I copied from a website..
Build376, VS2005

Anonymous - 14 Feb 08 22:47
Previous exception:RSRP-32271
Build337, VS2005

Anonymous - 21 Feb 08 13:53
Build376, VS2005

Anonymous - 26 Feb 08 17:46
Build337, VS2005

Anonymous - 05 Mar 08 01:09
Build376, VS2005

Anonymous - 06 Mar 08 12:12
Just using the arrows.
In a Partial vb class.
Normally I Ignore, and keep workong.
Annoying, though.
Build383, VS2005

Anonymous - 10 Mar 08 14:47
Build383, VS2005

Anonymous - 27 Mar 08 12:56
I was editing code that was tested in windows forms project that i had pasted in a CE5 project. There was a double Class declaration i had to get rid off
Build376, VS2005

Anonymous - 27 Mar 08 15:27
Previous exception:RSRP-31366

Copy new functions in VB.net from another project
Build376, VS2005


Anonymous - 11 Apr 08 16:45
I was editing code in a vb.net user control. Specifically, I moved the declaration of an event from one location in the file to another.
Build376, VS2005

Anonymous - 14 Apr 08 19:05
Build337, VS2005

Anonymous - 14 Apr 08 19:08
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 15 Apr 08 01:28
Build376, VS2005

Anonymous - 29 Apr 08 00:13
doing nothing at all
Build326, VS2005

Anonymous - 17 May 08 11:33
Build383, VS2005

Anonymous - 30 May 08 01:01
Build376, VS2005

Anonymous - 04 Mar 09 13:04
Build337, VS2005

Anonymous - 19 Mar 09 11:20
Build337, VS2005

Anonymous - 19 Mar 09 11:26
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 19 Mar 09 14:25
Previous exception:RSRP-31366
Build337, VS2005

Anonymous - 19 Mar 09 15:43
Previous exception:RSRP-31366
Build337, VS2005