Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-292241: Index and length must refer to a location within the string. Parameter name: length

$
0
0
Reporter Arnaud Dovi (adovi) Arnaud Dovi (adovi)
Created Mar 29, 2012 10:59:07 PM
Updated Mar 29, 2012 11:17:32 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem Code Analysis
Affected versions 7.0, 7.0 Preview
Fixed in build No Fixed in build
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.6.61, Built=2012-03-26T18:39:52, Configuration=“Csharp PublicMode Vbnet VS1100”
Index and length must refer to a location within the string. Parameter name: length

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Index and length must refer to a location within the string.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = length
StackTraceString = “
  at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
     at JetBrains.ReSharper.Feature.Services.Occurences.RangeOccurence.Bind(Func`1 describe, PsiLanguageType language) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\RangeOccurence.cs:line 305
     at JetBrains.ReSharper.Feature.Services.Occurences.RangeOccurence.Initialize(IProjectFile projectFile, PsiLanguageType language, TextRange textRange, Func`1 describe) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\RangeOccurence.cs:line 320
     at JetBrains.ReSharper.Feature.Services.Occurences.RangeOccurence..ctor(IReference reference, IDeclaredElement target, OccurenceType occurenceType, IProjectFile projectFile) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\RangeOccurence.cs:line 77
     at JetBrains.ReSharper.Feature.Services.Occurences.ReferenceOccurence..ctor(IReference reference, IDeclaredElement target, OccurenceType occurenceType, IProjectFile projectFile, Object o) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\ReferenceOccurence.cs:line 34
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeOccurenceProvider.MakeOccurence(FindResult findResult) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\ReferencedCodeOccurenceProvider.cs:line 32
     at JetBrains.ReSharper.Feature.Services.Occurences.OccurenceFactory.<>c__DisplayClass5.<MakeOccurence>b__2(IOccurenceProvider provider) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\OccurenceFactory.cs:line 42
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
     at JetBrains.ReSharper.Feature.Services.Occurences.OccurenceFactory.MakeOccurence(FindResult result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Occurences\OccurenceFactory.cs:line 42
     at JetBrains.ReSharper.Feature.Services.Search.SearchResultsConsumer.Build(FindResult result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\Search\SearchResultsConsumer.cs:line 25
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.SearchReferencedCodeConsumer.Build(FindResult result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\SearchReferencedCodeConsumer.cs:line 31
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.SyncronizedConsumer`1.Build(FindResult result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\ReferencedCodeSearcher.cs:line 822
     at JetBrains.ReSharper.Psi.Search.FindResultConsumerExtensions.Accept[TResult](IFindResultConsumer`1 consumer, FindResult result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\Search\FindResultConsumerExtensions.cs:line 12
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.ProcessSingleReference[T](IReference reference, SearchingContext`1 searchingContext, IReferencedCodeSearchHelper referencedCodeSearchHelper) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\ReferencedCodeSearcher.cs:line 257
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.ProcessReferences[T](ICollection`1 projectFiles, KeyValuePair`2 keyValuePair, IFindResultConsumer`1 consumer, OneToSetMap`2 extensionMethodsCache, Boolean useRetargeting, Boolean includeRelated) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\ReferencedCodeSearcher.cs:line 152
     at JetBrains.ReSharper.Feature.Services.ReferencedCode.ReferencedCodeSearcher.<>c__DisplayClass11`1.<ConsumeReferencedCodeUsages>b__3() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ReferencedCode\ReferencedCodeSearcher.cs:line 118
     at JetBrains.Application.Threading.MultiCoreFibersPool.Fibers.<>c__DisplayClassa.<EnqueueJobImpl>b__8() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 342


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “
Index and length must refer to a location within the string.
Parameter name: length

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “Search referenced code #6”
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.Threading.MultiCoreFibersPool.FiberProc() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 121
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Logger\Logger.cs:line 243
     at JetBrains.Application.Threading.MultiCoreFibersPool.<.ctor>b__1() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\MultiCoreFibersPool.cs:line 86
     at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ThreadHelper.ThreadStart()

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>