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

RSRP-281952: Never compare substitutions for equality

$
0
0
Reporter Dmitry Osinovsky (Dmitry.Osinovsky) Dmitry Osinovsky (Dmitry.Osinovsky)
Created Nov 19, 2011 3:34:02 AM
Updated Feb 20, 2012 10:43:03 PM
Priority Show-stopper
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Kirill Skrygan (kirillskrygan)
Subsystem No subsystem
Affected versions 6.1
Fixed in build No Fixed in build
ReSharper 6.1 EAP Version=6.1.0.11493, Built=2011-11-04T07:52:08, Configuration=“Csharp InternalMode Vbnet VS1000”
Never compare substitutions for equality

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Never compare substitutions for equality”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
  at JetBrains.ReSharper.Psi.Impl.Resolve.SubstitutionImpl.Equals(Object obj) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Psi\src\impl\resolve\SubstitutionImpl.cs:line 275
     at System.Collections.Generic.ObjectEqualityComparer`1.Equals(T x, T y)
     at System.Collections.Generic.JetHashSet`1.AddImpl(T element, T& existingElement) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Collections\JetHashSet.cs:line 116
     at JetBrains.Util.OneToSetMap`2.Add(TKey key, TValue value) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Collections\OneToSetMap.cs:line 96
     at JetBrains.Util.OneToSetMap`2.AddRange(TKey key, IEnumerable`1 values) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Collections\OneToSetMap.cs:line 83
     at JetBrains.ReSharper.Feature.Services.CallHierarchy.Impl.CallHierarchyIncomingSearchHelper.GetBaseElements(DeclaredElementInstance`1 elementInstance, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Feature.Services\src\CallHierarchy\Impl\CallHierarchyIncomingSearchHelper.cs:line 214
     at JetBrains.ReSharper.Feature.Services.CallHierarchy.Impl.CallHierarchyIncomingSearchHelper.FindCalledBy(DeclaredElementInstance`1 sourceTypeMember, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Feature.Services\src\CallHierarchy\Impl\CallHierarchyIncomingSearchHelper.cs:line 60
     at JetBrains.ReSharper.Feature.Services.CallHierarchy.Impl.CallHierarchyFinderImpl.FindIncoming(DeclaredElementInstance`1 typeMember, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Feature.Services\src\CallHierarchy\Impl\CallHierarchyFinderImpl.cs:line 31
     at JetBrains.ReSharper.Features.Browsing.CallHierarchy.Strategy.CallTreeIncomingStrategy.VisitIncomingTypeMemberNode(CallHierarchyIncomingTypeMemberNode node, IProgressIndicator data) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Browsing\src\CallHierarchy\Strategy\CallTreeIncomingStrategy.cs:line 27
     at JetBrains.ReSharper.Features.Browsing.CallHierarchy.Model.Nodes.Incoming.CallHierarchyIncomingTypeMemberNode.Accept[TData](ICallTreeNodeVisitor`1 visitor, TData data) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Browsing\src\CallHierarchy\Model\Nodes\Incoming\CallHierarchyIncomingTypeMemberNode.cs:line 66
     at JetBrains.ReSharper.Features.Browsing.CallHierarchy.Strategy.CallTreeIncomingStrategy.CalculateOutgoingNodes(CallHierarchyNode fromNode, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Browsing\src\CallHierarchy\Strategy\CallTreeIncomingStrategy.cs:line 109
     at JetBrains.ReSharper.Features.Browsing.CallHierarchy.Strategy.CallGraphTreeStrategyBase.BuildOutgoing(CallHierarchyNode node, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Browsing\src\CallHierarchy\Strategy\CallGraphTreeStrategyBase.cs:line 74
     at JetBrains.ReSharper.Features.Browsing.CallHierarchy.Controller.CallHierarchyTreeModelAdapter.BuildOutgoing(Object parentNode, IProgressIndicator progressIndicator) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Browsing\src\CallHierarchy\Controller\CallHierarchyTreeModelAdapter.cs:line 54
     at JetBrains.ReSharper.Features.Common.AsyncTreeBrowser.TreeAsyncModel.AsyncTreeNode.<>c__DisplayClass3.<BuildChilds>b__1(IProgressIndicator progress) in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Common\src\AsyncTreeBrowser\TreeAsyncModel.cs:line 163
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 302


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Never compare substitutions for equality”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 310
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClasse.<RunStartTask>b__d() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 282
at Action(UITaskExecutor.CallTask).Execute(Action )
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 765
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 639
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     at System.Threading.ExecutionContext.runTryCode(Object userData)
     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.ProcessQueue()
     at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
     at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
     at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
     at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
     at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
     at System.Windows.Forms.Application.RunDialog(Form form)
     at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
     at System.Windows.Forms.Form.ShowDialog()
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 119
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 82
     at JetBrains.UI.Application.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 189
     at JetBrains.ReSharper.Features.Common.AsyncTreeBrowser.TreeAsyncModel.AsyncTreeNode.<>c__DisplayClass3.<BuildChilds>b__0() in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Common\src\AsyncTreeBrowser\TreeAsyncModel.cs:line 166
     at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Shell\src\ShellLocks.cs:line 989
     at JetBrains.ReSharper.Features.Common.AsyncTreeBrowser.TreeAsyncModel.AsyncTreeNode.<>c__DisplayClass3.<BuildChilds>b__2() in c:\BuildAgent\work\73d5be9cd9acf4a2\src\Features\Common\src\AsyncTreeBrowser\TreeAsyncModel.cs:line 178
     at JetBrains.Util.Concurrency.GroupingEventHostEx.<>c__DisplayClass2.<>c__DisplayClass4.<QueueAtShort>b__1() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEventHostEx.cs:line 33
     at JetBrains.Threading.GroupingEvent.Execute() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEvent.cs:line 362
     at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEventHost.cs:line 256
     at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__4() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEventHost.cs:line 304
at Action(GroupingEventHost.ExecuteExpiredEvents).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 261
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 301
     at JetBrains.Threading.GroupingEventHost.OnClockTimerTick() in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEventHost.cs:line 310
     at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e) in c:\BuildAgent\work\73d5be9cd9acf4a2\Platform\src\Util\src\Concurrency\GroupingEventHost.cs:line 450
     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>