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

RSRP-290610: Sequence contains no elements

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 20, 2012 1:38:18 AM
Updated Mar 20, 2012 1:38:18 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.3.261, Built=2012-03-16T08:51:20, Configuration=“Csharp PublicMode Vbnet VS1100”
Sequence contains no elements

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
  at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.CommonBindings.NameToExpressionBindingBase.FindExpression(ITreeNode nodeAtOffset) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\CommonBindings\NameToExpressionBinding.cs:line 64
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.CommonBindings.NameToExpressionBindingBase.FindExpression() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\CommonBindings\NameToExpressionBinding.cs:line 58
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.CommonBindings.NameToExpressionBinding.GetJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\CommonBindings\NameToExpressionBinding.cs:line 99
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.CommonBindings.LocalSymbolTypeBindingWrpper.GetJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\CommonBindings\LocalSymbolTypeBindingWrpper.cs:line 32
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JavaScriptResolveContext.CalculateWithCache[T](ICalculationIdentifier ident, Func`1 getDefault, Func`2 getResult) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\JavaScriptResolveContext.cs:line 132
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptSymbolsCache.<>c__DisplayClass12.<JavaScriptTypeFromLocalBindings>b__10(IJavaScriptLocalTypeBinding binding) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptSymbolsCache.cs:line 137
     at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.Types.JavaScriptTypesFactory.CreateCompositeType(IEnumerable`1 types) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\Types\JavaScriptTypesFactory.cs:line 21
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptSymbolsCache.JavaScriptTypeFromLocalBindings(JavaScriptResolveContext context, List`1 bindings) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptSymbolsCache.cs:line 136
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptSymbolsCache.<>c__DisplayClass17.<GetLocalJsType>b__16(JavaScriptResolveContext newContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptSymbolsCache.cs:line 153
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JavaScriptResolveContext.CalculateWithCache[T](ICalculationIdentifier ident, Func`1 getDefault, Func`2 getResult) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\JavaScriptResolveContext.cs:line 132
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptSymbolsCache.GetLocalJsType(JavaScriptResolveContext context, String shortName, IFunctionExpression ownerFunction) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptSymbolsCache.cs:line 151
     at JetBrains.ReSharper.Psi.JavaScript.Impl.DeclaredElements.JavaScriptLocalElement.GetJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\DeclaredElements\JavaScriptLocalElement.cs:line 87
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.ReferenceExpressionReference.CalculateJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\ReferenceExpressionReference.cs:line 162
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.ReferenceExpression.CalculateJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Tree\ReferenceExpression.cs:line 50
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Framework.Standard.JavaScriptStandartTypesProvider.GetJsType(IJavaScriptExpression expression, JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Framework\Standard\JavaScriptStandartTypesProvider.cs:line 16
     at JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JavaScriptExpressionTypesManager.<>c__DisplayClass3.<>c__DisplayClass5.<GetJsType>b__2(IExpressionTypeProvider x) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\LanguageImpl\JavaScriptExpressionTypesManager.cs:line 26
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.<ConcatIterator>d__71`1.MoveNext()
     at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
     at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
     at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.Types.JavaScriptTypesFactory.CreateCompositeType(IEnumerable`1 types) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\Types\JavaScriptTypesFactory.cs:line 21
     at JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JavaScriptExpressionTypesManager.<>c__DisplayClass3.<GetJsType>b__1(JavaScriptResolveContext newResolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\LanguageImpl\JavaScriptExpressionTypesManager.cs:line 25
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JavaScriptResolveContext.CalculateWithCache[T](ICalculationIdentifier ident, Func`1 getDefault, Func`2 getResult) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\JavaScriptResolveContext.cs:line 132
     at JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JavaScriptExpressionTypesManager.GetJsType(IJavaScriptExpression expression, JavaScriptResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\LanguageImpl\JavaScriptExpressionTypesManager.cs:line 24
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.JavaScriptExpressionBase.GetJsType(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Tree\JavaScriptExpressionBase.cs:line 50
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.ExpressionQualifier.GetSymbolTable(SymbolTableMode mode) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\ExpressionQualifier.cs:line 29
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.ReferenceExpressionReference.GetSymbolTableInternal(JavaScriptResolveContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\ReferenceExpressionReference.cs:line 57
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.ReferenceExpressionReference.GetSymbolTable(JavaScriptResolveContext resolveContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\JavaScript\src\Impl\Resolve\ReferenceExpressionReference.cs:line 36
     at JetBrains.ReSharper.Feature.Services.JavaScript.CodeCompletion.Rules.ItemsProviderOnReferenceExpression.GetSymbolTable(JavaScriptCodeCompletionContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\JavaScript\src\CodeCompletion\Rules\ItemsProviderOnReferenceExpression.cs:line 47
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.ItemsProviderOfSymbolTableBase`1.AddLookupItems(TContext context, GroupedItemsCollector collector) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\Infrastructure\ItemsProviderOfSymbolTableBase.cs:line 23
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.ItemsProviderOfSpecificContext`1.JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.ICodeCompletionItemsProvider.AddLookupItems(ISpecificCodeCompletionContext context, GroupedItemsCollector collector, Object data) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\Infrastructure\ItemsProviderOfSpecificContext.cs:line 40
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.GetCompletionResult(CodeCompletionType codeCompletionType, ITextControl textControl, AutocompletionBehaviour autocompletionBehaviourInitial) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\IntellisenseManager.cs:line 399
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.AutomaticCodeCompletionSession.AsyncCompletionExecutor.Work() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\AutomaticCodeCompletionSession.cs:line 172
     at JetBrains.Application.InterruptableReadActivity.DoWork() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 209
     at JetBrains.Application.InterruptableReadActivity.WorkerThreadProc() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 100


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = js
Data.ManagedThreadName = “Pool Thread #0”
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.InterruptableReadActivity.WorkerThreadProc() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 133
     at JetBrains.Threading.ThreadManager.PooledThread.ThreadProc() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Threading\ThreadManager.cs:line 152
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\Logger.cs:line 243
     at JetBrains.Threading.ThreadManager.PooledThread.<.ctor>b__1() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Threading\ThreadManager.cs:line 116
     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>