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

RSRP-296696: Sequence contains more than one element

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 21, 2012 4:00:48 PM
Updated Apr 21, 2012 4:00:48 PM
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.19.123, Built=2012-04-19T20:27:06, Configuration=“Csharp PublicMode Vbnet VS1100”
Sequence contains more than one element

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains more than one element”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
  at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Framework.Standard.JavaScriptStandardCacheBuilder.ScanIndexExpression(IIndexExpression indexExpression) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Framework\Standard\JavaScriptStandardCacheBuilder.cs:line 449
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Framework.Standard.JavaScriptStandardCacheBuilder.ScanBeforeChildren(ITreeNode treeNode) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Framework\Standard\JavaScriptStandardCacheBuilder.cs:line 59
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 82
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.Build(ITreeNode node) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 92
     at JetBrains.ReSharper.Psi.JavaScript.Impl.Caches.JavaScriptCacheBuilder.<Build>d__6.MoveNext() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBuilder.cs:line 104
     at System.Linq.Enumerable.<OfTypeIterator>d__aa`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.Caches.JavaScriptCacheBase.JetBrains.ReSharper.Psi.Caches.ICache.SyncUpdate(Boolean underTransaction) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\JavaScript\src\Impl\Caches\JavaScriptCacheBase.cs:line 179
     at JetBrains.ReSharper.Psi.Impl.Caches2.CompositeCache.<>c__DisplayClassc.<SyncUpdate>b__b(ICache cache) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\caches2\CompositeCache.cs:line 233
     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1577
     at JetBrains.ReSharper.Psi.Impl.Caches2.CompositeCache.SyncUpdate(Boolean underTransaction) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\caches2\CompositeCache.cs:line 233
     at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.SyncUpdateCaches() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\caches2\CacheManagerImpl.cs:line 209
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.UpdateCaches() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 960
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.<>c__DisplayClass5.<ExecuteCommitDocuments>b__4(ICollection`1 result) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 876


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Sequence contains more than one element”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.<>c__DisplayClass5.<ExecuteCommitDocuments>b__4(ICollection`1 result) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 880
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.ExecuteSecondaryCommit(ICollection`1 dataForSecondaryCommits) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 163
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.AsyncCommitter`2.Finish() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 292
     at JetBrains.Application.InterruptableReadActivity.DoSynch() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 226
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Execute[TData,TResult](Boolean synchronous, List`1 datas, Func`2 workAction, Action`1 ifSuccessful, Action ifInterrupted, Action ifInterruptedSync, CheckForInterrupt checkForInterrupt) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 253
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.ExecutePrimaryCommit(List`1 dataForPrimaryCommit) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 88
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.AsyncCommitter`2.Finish() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 292
     at JetBrains.Application.InterruptableReadActivity.DoSynch() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 226
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Execute[TData,TResult](Boolean synchronous, List`1 datas, Func`2 workAction, Action`1 ifSuccessful, Action ifInterrupted, Action ifInterruptedSync, CheckForInterrupt checkForInterrupt) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 253
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Commit(ICollection`1 sourceFilesToCommit) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 61
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.ExecuteCommitDocuments(Boolean synchronous, Action successfulContinuation, Action interruptedContinuation) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 893
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.CommitAllDocuments() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 835
     at JetBrains.ReSharper.Features.Common.TreePsiBrowser.TreeModelBrowserDataRules.GetDeclaredElement(TreeModelNode modelNode) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Features\Common\src\TreePsiBrowser\TreeModelBrowserDataRules.cs:line 70
     at JetBrains.ReSharper.Features.Common.TreePsiBrowser.TreeModelBrowserDataRules.TreeModelViewNodesToDeclaredElements(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Features\Common\src\TreePsiBrowser\TreeModelBrowserDataRules.cs:line 56
     at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 158
     at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 383
     at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 122
     at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 254
     at JetBrains.ReSharper.UnitTestExplorer.Common.UnitTestDataRules.DeclaredElementToUnitTestElements(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\UnitTesting\Explorer\src\Common\UnitTestDataRules.cs:line 48
     at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 158
     at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 383
     at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 122
     at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\DataContext\DataContext.cs:line 254
     at JetBrains.ReSharper.UnitTestExplorer.Actions.UnitTestContextActionBase.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\UnitTesting\Explorer\src\Actions\UnitTestExplorerContextBaseAction.cs:line 105
     at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\Action\UpdatableAction.cs:line 88
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass9.<UpdateAction>b__8(Lifetime lifetime) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 200
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.ActionManagement.ActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 200
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1363
     at JetBrains.UI.ActionSystem.ActionBar.ActionStripButton.Update(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\ActionStripButton.cs:line 53
     at JetBrains.ActionManagement.ActionBarWinForms.<>c__DisplayClassc.<Update>b__9() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\ActionBarImpl.cs:line 287
     at JetBrains.Application.IShellLocksEx.TryExecuteWithReadLock(IShellLocks thіs, Action F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\ShellLocks.cs:line 1027
     at JetBrains.ActionManagement.ActionBarWinForms.Update(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\ActionBarImpl.cs:line 280
     at JetBrains.ActionManagement.IActionBarManagerEx.<>c__DisplayClass1.<Update>b__0(Lifetime lifetime) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\IActionBarManagerEx.cs:line 43
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ActionManagement.IActionBarManagerEx.Update(IActionBar thіs) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\IActionBarManagerEx.cs:line 44
     at JetBrains.ActionManagement.ActionBarManager.UpdateAutoBars() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionBar\ActionBarManagerImpl.cs:line 63
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 22
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.SimpleSignal.Fire() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\SimpleSignal.cs:line 66
     at JetBrains.Threading.ReentrancyGuardTimer.OnTimerTickReentrantSafe() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuardTimer.cs:line 203
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 304
     at JetBrains.Threading.ReentrancyGuardTimer.OnTimerTick() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuardTimer.cs:line 186
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Logger\Logger.cs:line 243
     at JetBrains.Threading.ReentrancyGuardTimer.<InitDataFlow>b__6(Object , EventArgs ) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuardTimer.cs:line 148
     at System.Windows.Forms.Timer.OnTick(EventArgs e)
     at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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