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

RSRP-291780: The lifetime has already been terminated. Object name: 'Lifetime'.

$
0
0
Reporter Magnus mårtensson (noopman12) Magnus mårtensson (noopman12)
Created Mar 25, 2012 8:17:53 PM
Updated Apr 4, 2012 11:33:57 PM
Resolved Mar 25, 2012 9:46:17 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Duplicate
Assignee Serge Baltic (baltic)
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-16T03:51:20, Configuration=“Csharp PublicMode Vbnet VS1100”
The lifetime has already been terminated. Object name: 'Lifetime'.

--- EXCEPTION #1/2 [ObjectDisposedException]
Message = “The lifetime has already been terminated.”
ExceptionPath = Root.InnerException
ClassName = System.ObjectDisposedException
HResult = COR_E_OBJECTDISPOSED=80131622
Source = JetBrains.Platform.ReSharper.Util
ObjectName = Lifetime
StackTraceString = “
  at JetBrains.DataFlow.Lifetime.ReportTerminatedLifetime(String sAnotherLifetimeRelation) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 119
     at JetBrains.DataFlow.Lifetime.AddAction(Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 166
     at JetBrains.DataFlow.Lifetime.AddDispose(IDisposable item) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 94
     at JetBrains.DataFlow.LifetimeEx.AssertEverTerminated(Lifetime thіs, String identity) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\LifetimeEx.cs:line 77
     at JetBrains.UI.AnchoringRect..ctor(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\PopupLayout\AnchoringRect.cs:line 23
     at JetBrains.UI.NestedAnchoringRect..ctor(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\PopupLayout\NestedAnchoringRect.cs:line 35
     at JetBrains.UI.PopupWindowManager.AvalonAnchoringRect..ctor(Lifetime lifetime, UIElement element, WindowsMessageHookManager hookman) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\PopupLayout\AvalonAnchoringRect.cs:line 24
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.CreateViewportAnchorCore(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlWindowDevTen.cs:line 157
     at JetBrains.TextControl.BaseImpl.TextControlWindowBase.JetBrains.TextControl.ITextControlWindow.CreateViewportAnchor(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\BaseImpl\TextControlWindowBase.cs:line 230
     at JetBrains.TextControl.TextControlMouseEventArgs.<>c__DisplayClass1.<FromCurrentPositionAndStateIfOverTextControl>b__0(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\TextControlMouseEventArgs.cs:line 115
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.TextControl.TextControlMouseEventArgs.FromCurrentPositionAndStateIfOverTextControl(ITextControl tc) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\TextControlMouseEventArgs.cs:line 115
     at JetBrains.ReSharper.Feature.Services.Hyperlink.HyperlinkManager.<>c__DisplayClass3a.<TryEnterHoverState>b__37() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Hyperlink\HyperlinkManager.cs:line 449
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “
The lifetime has already been terminated.
Object name: 'Lifetime'.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = html
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.DataFlow.SequentialLifetimes.SetCurrentLifetime(LifetimeDefinition lifetimeToSet) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\SequentialLifetimes.cs:line 78
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2b`1.<ForEachValue>b__29(PropertyChangedEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\IPropertyEx.cs:line 346
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 280
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 560
     at JetBrains.ReSharper.Feature.Services.Hyperlink.HyperlinkManager.<>c__DisplayClass8.<.ctor>b__4() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Hyperlink\HyperlinkManager.cs:line 105
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363
     at JetBrains.DataFlow.SequentialLifetimes.SetCurrentLifetime(LifetimeDefinition lifetimeToSet) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\SequentialLifetimes.cs:line 78
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2b`1.<ForEachValue>b__29(PropertyChangedEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\IPropertyEx.cs:line 346
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 280
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 560
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass13`1.<FlowInto>b__12(PropertyChangedEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\IPropertyEx.cs:line 113
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 280
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Property!1.cs:line 560
     at JetBrains.TextControl.Impl.TextControlProperties.<InitFocusAndVisible>b__3() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\TextControlsManagement\TextControlManagerDerivatives.cs:line 70
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 22
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 272
     at JetBrains.DataFlow.CollectionEvents`1.InternalRemove(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 434
     at JetBrains.DataFlow.CollectionEvents`1.Remove(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 681
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass23`1.<Add>b__22() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 264
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363
     at JetBrains.DataFlow.Lifetime.<>c__DisplayClassa.<AttachNested>b__6() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 256
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 226
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 272
     at JetBrains.DataFlow.CollectionEvents`1.InternalRemove(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 434
     at JetBrains.DataFlow.CollectionEvents`1.Modify(AddRemove action, TValue item, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 667
     at JetBrains.DataFlow.CollectionBridge`2.<Init>b__0(AddRemoveEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionBridge!2.cs:line 242
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 272
     at JetBrains.DataFlow.DictionaryEvents`2.InternalRemove(KeyValuePair`2 value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\DictionaryEvents`2.cs:line 298
     at JetBrains.DataFlow.CollectionEvents`1.Remove(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 681
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass23`1.<Add>b__22() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 264
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363
     at JetBrains.DataFlow.ObsoleteLifetimeAndDefinitionAtTheSameTime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\ObsoleteLifetimeAndDefinitionAtTheSameTime.cs:line 92
     at JetBrains.VsIntegration.TextControl.VsTextControlCommon.Dispose() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlCommon.cs:line 302
     at JetBrains.DataFlow.Lifetime.<>c__DisplayClass1.<AddDispose>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 94
     at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 226
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 272
     at JetBrains.DataFlow.CollectionEvents`1.InternalRemove(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 434
     at JetBrains.DataFlow.CollectionEvents`1.Remove(TValue item) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 696
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClassa.<OnViewClosed>b__9() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextViewCollectorDevTen.cs:line 98
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 139
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 64
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 136
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.OnViewClosed(IWpfTextView view) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextViewCollectorDevTen.cs:line 99
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass7.<AdviseViewClosedSafe>b__6(Object , EventArgs ) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextViewCollectorDevTen.cs:line 84
     at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent(Object sender, EventHandler eventHandlers)
     at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Close()
     at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextViewHost.Close()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.CloseExistingWpfTextView()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.CloseBufferRelatedResources()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.CloseView()
     at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Close()
     at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.OnClose()
     at Microsoft.VisualStudio.Shell.WindowPane.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane()
     at Microsoft.VisualStudio.OLE.Interop.IOleDocumentView.CloseView(UInt32 dwReserved)
     at Microsoft.VisualStudio.Platform.WindowManagement.ComCompliantOleDocumentView.<>c__DisplayClass7.<CloseView>b__6()
     at Microsoft.VisualStudio.ErrorHandler.<>c__DisplayClass1.<CallWithCOMConvention>b__0()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Action method)
     at Microsoft.VisualStudio.Platform.WindowManagement.ComCompliantOleDocumentView.CloseView(UInt32 dwReserved)
     at Microsoft.VisualStudio.Platform.WindowManagement.OleDocumentObject.Close()
     at Microsoft.VisualStudio.Platform.WindowManagement.OleDocumentObject.DisposeManagedResources()
     at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.DisposeManagedResources()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<>c__DisplayClass8.<CloseFrame>b__7()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.CloseFrame(__FRAMECLOSE frameClose)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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