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

RSRP-294595: Operation is not valid due to the current state of the object.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Apr 15, 2012 1:35:38 AM
Updated Apr 15, 2012 1:35:40 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.15.59, Built=2012-04-13T05:22:30, Configuration=“Csharp PublicMode Vbnet VS1100”
Operation is not valid due to the current state of the object.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “Operation is not valid due to the current state of the object.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi.CSharp
StackTraceString = “
  at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ArglistParameterDeclaration.SetName(String name) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\CSharp\src\Impl\Tree\ArglistParameterDeclaration.cs:line 67
     at JetBrains.ReSharper.Refactorings.RenameModel.AtomicRename.Rename(RenameRefactoring executer, IProgressIndicator pi, Boolean hasConflictsWithDeclarations, IRefactoringDriver driver) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\RenameModel\AtomicRename.cs:line 84
     at JetBrains.ReSharper.Refactorings.Rename.RenameRefactoring.Execute(IProgressIndicator pi) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Rename\RenameRefactoring.cs:line 185
     at JetBrains.ReSharper.Refactorings.Workflow.DrivenRefactoringConflictSearcher.<>c__DisplayClass6.<SearchConflicts>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\DrivenRefactoringConflictSearcher.cs:line 45
     at JetBrains.ReSharper.Psi.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\PsiTransactionCookie.cs:line 88
     at JetBrains.ReSharper.Refactorings.Workflow.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\DrivenRefactoringConflictSearcher.cs:line 40
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.<>c__DisplayClass14.<InitPage>b__b(IProgressIndicator pi) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 305
     at JetBrains.ReSharper.Refactorings.WorkflowNew.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\FunctionWrapper.cs:line 33


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Operation is not valid due to the current state of the object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
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.Refactorings.WorkflowNew.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\FunctionWrapper.cs:line 46
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 139
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\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, Boolean enforceModalityState) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 84
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 45
     at JetBrains.ReSharper.Refactorings.Workflow.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\RefactoringsTaskExecutor.cs:line 54
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 382
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.InitPage(IRefactoringPage page) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 305
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.NextPage(IRefactoringPage currentPage) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 268
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.InitPage(IRefactoringPage page) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 367
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.FirstPage() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 178
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.StartRefactoring() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 220
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.ExecuteWithCustomHost(IDataContext context, IRefactoringWorkflow refactoringWorkflow, IWorkflowHost host) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 92
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.ExecuteWithWizardForm(IDataContext context, IRefactoringWorkflow refactoringWorkflow) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 68
     at JetBrains.ReSharper.Refactorings.Workflow.RefactoringActionUtil.ExecuteRefactoring(IDataContext context, IRefactoringWorkflow refactoringWorkflow) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\RefactoringActionUtil.cs:line 22
     at JetBrains.ReSharper.Refactorings.Rename.RenameRefactoringService.ExcuteRename(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Rename\RenameRefactoringService.cs:line 115
     at JetBrains.ReSharper.Intentions.QuickFixes.Naming.ChangeNameFix.<>c__DisplayClass1.<Execute>b__0(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\QuickFixes\Naming\ChangeNameFix.cs:line 56
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ReSharper.Intentions.QuickFixes.Naming.ChangeNameFix.Execute(ISolution solution, ITextControl textControl) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\QuickFixes\Naming\ChangeNameFix.cs:line 61
     at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.<>c__DisplayClass1.<Clicked>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbMenuItemBase.cs:line 86
     at JetBrains.DocumentModel.DocumentSettings.ExecuteWithOpenDocumentAfterModification(Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\DocumentSettings.cs:line 48
     at JetBrains.ReSharper.Intentions.Bulbs.BulbMenuItem.Clicked(BulbContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbMenuItemBase.cs:line 85
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.OnMenuItemClicked(Object key) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 181
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<>c__DisplayClass19.<Run>b__15(Object o) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 457
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<>c__DisplayClass1d.<ShowCore>b__13(JetPopupMenuItem item) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 458
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuDoc.cs:line 281
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuMainpartView.cs:line 1581
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 811
     at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
     at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
     at System.Windows.Forms.Control.WmKeyChar(Message& m)
     at System.Windows.Forms.Control.WndProc(Message& m)
     at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
     at System.Windows.Forms.Form.WndProc(Message& m)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.WndProc(Message& m) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\Impl\JetPopupMenuView.cs:line 1008
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
     at JetBrains.Threading.JetDispatcher.InternalPumpMessagesOnce() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 524
     at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 345
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass23.<ShowModal>b__21(LifetimeDefinition definition, Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 560
     at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 116
     at JetBrains.UI.PopupMenu.JetPopupMenu.ShowModal(ShowWhen when, LifetimeDefinition lifetimeDefitionOptional) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\JetPopupMenu\JetPopupMenu.cs:line 562
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.<Run>b__14(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 486
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ReSharper.Intentions.Bulbs.BulbIndicator.Run() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbIndicator.cs:line 439
     at JetBrains.ReSharper.Intentions.Bulbs.IndicatorsManager.<>c__DisplayClass4.<ShowIndicator>b__1() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\IndicatorsManager.cs:line 77
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 22
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.SimpleSignal.Fire() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\SimpleSignal.cs:line 66
     at JetBrains.ReSharper.Intentions.Bulbs.BulbManagerImpl.DoAltEnterStuff() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\Bulbs\BulbManagerImpl.cs:line 178
     at JetBrains.ReSharper.Intentions.QuickFixes.QuickFixActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Intentions\_Core\src\QuickFixes\QuickFixAction.cs:line 21
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 187
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 165
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 157
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec_Product(String actionid, Boolean isAuxiliaryCommand, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 860
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 332
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 328
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1421
     at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 223

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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