Project
ReSharper
Priority
Critical
Type
Exception
Fix versions
4.5.3
State
Obsolete
Assignee
Serge Baltic
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Sergey Coox
    3 years ago (27 Nov 2008 19:56)
  • Updated by   Kirill Falk
    18 months ago (17 Nov 2010 03:45)
  • Jira: RSRP-87171
    (history, comments)
 
RSRP-87171 COM object that has been separated from its underlying RCW cannot be used.
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
ReSharper 4.5 Version=4.5.0.0, Edition=, Built=2008-11-27T18:44:34, Configuration=ReSharper_AddIn_Internal, VsVersion=9.0
System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
 at System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie)
 at EnvDTE._dispBuildEvents_EventProvider.add_OnBuildBegin(_dispBuildEvents_OnBuildBeginEventHandler A_1)
 at EnvDTE.BuildEventsClass.add_OnBuildBegin(_dispBuildEvents_OnBuildBeginEventHandler A_1)
 at JetBrains.ReSharper.VS.SolutionBuilder.VsSolutionBuilder.<>c__DisplayClass19.<InitAttachDevenv>b__9() in c:\Work\ReSharper\Main\src\VS\src\SolutionBuilder\VSSolutionBuilder.cs:line 246
 at JetBrains.DataFlow.TryFinally.Open(Action opening) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\TryFinally.cs:line 262

— End of inner exception stack trace —
JetBrains.DataFlow.TryFinally+FinallyException: COM object that has been separated from its underlying RCW cannot be used. —> System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
 at System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie)
 at System.Runtime.InteropServices.UCOMIConnectionPoint.Advise(Object pUnkSink, Int32& pdwCookie)
 at EnvDTE._dispBuildEvents_EventProvider.add_OnBuildBegin(_dispBuildEvents_OnBuildBeginEventHandler A_1)
 at EnvDTE.BuildEventsClass.add_OnBuildBegin(_dispBuildEvents_OnBuildBeginEventHandler A_1)
 at JetBrains.ReSharper.VS.SolutionBuilder.VsSolutionBuilder.<>c__DisplayClass19.<InitAttachDevenv>b__9() in c:\Work\ReSharper\Main\src\VS\src\SolutionBuilder\VSSolutionBuilder.cs:line 246
 at JetBrains.DataFlow.TryFinally.Open(Action opening) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\TryFinally.cs:line 262
--- End ---
Creation stack trace:
  • =[ Stack trace logging disabled. ]=-

— End of inner exception stack trace —
LoggerException: COM object that has been separated from its underlying RCW cannot be used.
 at JetBrains.Util.Logger.LogException(Exception ex) in c:\Work\ReSharper\Main\Platform\src\Util\src\Logger\Logger.cs:line 428
 at JetBrains.Util.Logger.LogException(Exception ex) in c:\Work\ReSharper\Main\Platform\src\Util\src\Logger\Logger.cs:line 428
 at JetBrains.DataFlow.TryFinally.Open(Action opening) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\TryFinally.cs:line 268
 at JetBrains.DataFlow.TryFinally..ctor(Action opening, Action closing, Boolean bTrapExceptions, Boolean finalizer) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\TryFinally.cs:line 61
 at JetBrains.DataFlow.TryFinally.Enter_NoFinalize(Action opening, Action closing) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\TryFinally.cs:line 149
 at JetBrains.DataFlow.Disposables.AddBracket(Action opening, Action closing) in c:\Work\ReSharper\Main\Platform\src\Util\src\DataFlow\Disposables.cs:line 188
 at JetBrains.ReSharper.VS.SolutionBuilder.VsSolutionBuilder.InitAttachDevenv() in c:\Work\ReSharper\Main\src\VS\src\SolutionBuilder\VSSolutionBuilder.cs:line 246
 at JetBrains.ReSharper.VS.SolutionBuilder.VsSolutionBuilder.Init() in c:\Work\ReSharper\Main\src\VS\src\SolutionBuilder\VSSolutionBuilder.cs:line 497
 at JetBrains.ComponentModel.ComponentContainer.InitializeComponent(IComponent component) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 168
 at JetBrains.ComponentModel.XmlExternalizableComponentContainer.InitializeComponent(IComponent component) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 400
 at JetBrains.ProjectModel.Impl.SolutionBase.InitializeComponent(IComponent component) in c:\Work\ReSharper\Main\Platform\src\ProjectModel\src\impl\SolutionBase.cs:line 300
 at JetBrains.ComponentModel.ComponentContainer.InitializeComponentIfNeeded(IComponent component) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 300
 at JetBrains.ComponentModel.ComponentContainer.TryGetComponentByImplType(Type implType) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 335
 at JetBrains.ComponentModel.ComponentContainer.<GetComponents>b__1(Type type) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 461
 at System.Linq.Enumerable.<SelectImpl>d__9c`2.MoveNext() in c:\Work\ReSharper\Main\Platform\src\Util\src\System.Core\Enumerable.Select.cs:line 25
 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
 at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) in c:\Work\ReSharper\Main\Platform\src\Util\src\System.Core\Enumerable.ToCollection.cs:line 16
 at JetBrains.ComponentModel.ComponentContainer.GetComponents() in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 461
 at JetBrains.ComponentModel.ComponentContainer.JetBrains.ComponentModel.ICollectionChangedEventSink<JetBrains.ComponentModel.ComponentDescriptor>.OnAdd(ICollection`1 items) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 370
 at JetBrains.ComponentModel.ComponentDeclarationsCache.AdviseComponentDeclarationsCollectionChange(ICollectionChangedEventSink`1 sink) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentDeclarationsCache.cs:line 47
 at JetBrains.ComponentModel.ComponentContainer.InitializeComponents(ComponentDeclarationsCache declarationscache) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 121
 at JetBrains.ComponentModel.XmlExternalizableComponentContainer.InitializeComponents(ComponentDeclarationsCache declarationscache) in c:\Work\ReSharper\Main\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 379
 at JetBrains.ProjectModel.Impl.SolutionBase.InitializeComponents() in c:\Work\ReSharper\Main\Platform\src\ProjectModel\src\impl\SolutionBase.cs:line 34
 at JetBrains.ProjectModel.Impl.ProjectFactoryImpl.CreateSolution(FileSystemPath solutionFilePath) in c:\Work\ReSharper\Main\Platform\src\ProjectModel\src\impl\ProjectFactoryImpl.cs:line 90
 at JetBrains.VSIntegration.ProjectModel.VSSolutionManager.ProcessSolution(String solutionFile) in c:\Work\ReSharper\Main\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 494
 at JetBrains.VSIntegration.ProjectModel.VSSolutionManager.OpenVSSolution(Boolean afterOpenSolution) in c:\Work\ReSharper\Main\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 403
 at JetBrains.VSIntegration.ProjectModel.VSSolutionManager.<>c__DisplayClass4.<OnAfterOpenSolution>b__3() in c:\Work\ReSharper\Main\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 359
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Work\ReSharper\Main\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 303
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\Work\ReSharper\Main\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 335
 at JetBrains.Threading.Invocator.ExecuteOrQueue(String name, Action action) in c:\Work\ReSharper\Main\Platform\src\Shell\src\Threading\Invocator.cs:line 125
 at JetBrains.VSIntegration.ProjectModel.VSSolutionManager.QueueAction(Action action) in c:\Work\ReSharper\Main\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 309
 at JetBrains.VSIntegration.ProjectModel.VSSolutionManager.OnAfterOpenSolution(Object pUnkReserved, Int32 fNewSolution) in c:\Work\ReSharper\Main\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 356
 at Microsoft.VSDesigner.Interop.IVsSolution.OpenSolutionFile(Int32 grfOpenOpts, String pszFileName)
 at Microsoft.VSDesigner.Project.UpgradeWizard.WizardMediator.UpgradeWizard()
 at Microsoft.VSDesigner.Project.UpgradeWizard.UpgradeWizard_Dialog.Finish()
 at Microsoft.VSWizards.WizardForm.Finish_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 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 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 Microsoft.VisualStudio.UIService.System.Windows.Forms.Design.IUIService.ShowDialog(Form form)
 at Microsoft.VSWizards.WizardForm.ShowDialog()
 at Microsoft.VSDesigner.Project.UpgradeWizard.UpgradeWizard_Dialog.ShowWizard()
 at Microsoft.VSDesigner.Project.UpgradeWizard.UpgradeWizard.Execute(Object Application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& wr)
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments