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

RSRP-273306: No such margin in the view.

$
0
0
Reporter Alexander Zverev (alexander.zverev) Alexander Zverev (alexander.zverev)
Created Jun 27, 2011 5:10:42 PM
Updated Feb 7, 2012 6:54:29 PM
Resolved Jun 30, 2011 7:20:35 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 6.1 EAP Version=6.1.0.0, Built=2011-06-27T08:56:48, Configuration=“Csharp InternalMode Vbnet VS1000”
No such margin in the view.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “No such margin in the view.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.Dock = Right
Data.MarginName = ReSharperMarginRight
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ReSharper.VsIntegration.DevTen
StackTraceString = “
  at JetBrains.VsIntegration.DevTen.TextControl.Marginal.VsTextControlMarginDevTenEx.GetMargin(IWpfTextView view, Dock dock) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\Marginal\VsTextControlMarginDevTenEx.cs:line 48
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen.Init_PushStripeToMargin() in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationDevTen.cs:line 124
     at JetBrains.Util.Logger.Catch(Action action) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Logger\Logger.cs:line 245


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “No such margin in the view.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
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.Util.Logger.LogException(Exception ex) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Logger\Logger.cs:line 612
     at JetBrains.Util.Logger.Catch(Action action) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Logger\Logger.cs:line 249
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen..ctor(IVsTextView vsTextView, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationDevTen.cs:line 67
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationFactoryDevTen.JetBrains.Platform.CommonServices.TextControlServices.IVsTextViewShimImplementationFactory.CreateInstance(IVsTextView vsTextViewRaw) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationFactoryDevTen.cs:line 26
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim.AttachImplementation(IVsTextViewShimImplementationFactory factory) in c:\Work\ReSharper_Trunk\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShim.cs:line 168
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShimImplementationFactoryService.PushForEachCurrentFactoryValue_NotNull(Action`1 FEnter, Action`1 FLeave) in c:\Work\ReSharper_Trunk\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShimImplementationFactoryService.cs:line 83
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim..ctor(VsTextViewSharedService owner, IVsTextView view) in c:\Work\ReSharper_Trunk\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShim.cs:line 65
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewSharedService.CreateSharedTextView(IVsTextView textView) in c:\Work\ReSharper_Trunk\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewSharedService.cs:line 112
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.Init_TextViewShared() in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextControlWindowDevTen.cs:line 143
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.<>c__DisplayClass4.<.ctor>b__0() in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextControlWindowDevTen.cs:line 50
     at JetBrains.Util.Logger.Catch[TValue](Func`1 F) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Logger\Logger.cs:line 263
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen..ctor(VsTextControlDevTen owner, WindowFrame frame, IShellLocks locks, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, VsHighlightingHelper vsHighlightingHelper, DefaultTextControlSchemeManager defaultTextControlSchemeManager, IDocumentMarkupManager documentMarkupManager) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextControlWindowDevTen.cs:line 50
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlDevTen..ctor(IWpfTextView vstextview, VsDocumentWhidbey document, WindowFrame frame, IShellLocks locks, TextControlTypingHandlers textControlTypingHandlers, VsCommandProcessor vsCommandProcessor, VsActionManager vsActionManager, ChangeManager changeManager, DocumentChangeManager documentChangeManager, VsDocumentManagerSynchronization vsDocumentManagerSynchronization, DefaultTextControlSchemeManager defaultTextControlSchemeManager, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, IOutliningManagerService outliningManagerService, IEditorOperationsFactoryService editorOperationsFactoryService, IDocumentMarkupManager documentMarkupManager, VsHighlightingHelper vsHighlightingHelper) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextControlDevTen.cs:line 88
     at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)
     at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)
     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceImpl() in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 176
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstance() in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 201
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceChecked(OnError onError) in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 213
     at JetBrains.Application.Components.TypeComponentDescriptor.get_Instance() in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 44
     at JetBrains.Application.Components.ComponentContainer.ResolveDescriptors(IEnumerable`1 descriptors) in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\ComponentContainer.Registration.cs:line 119
     at JetBrains.Application.Components.ComponentContainer.Compose() in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\ComponentContainer.cs:line 126
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args) in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\FactoryComponentContainer.cs:line 74
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance[TInstance](Lifetime lifetime, IComponentContainer parent, Object[] args) in c:\Work\ReSharper_Trunk\Platform\src\ComponentModel\src\Components\FactoryComponentContainer.cs:line 26
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlCreatorDevTen.CreateTextControl[TTextControl](CreateTextControlParams`1 param) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextControlCreatorDevTen.cs:line 122
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.<>c__DisplayClass2.<.ctor>b__0(Lifetime lifetimeTextView, IWpfTextView textView) in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 61
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<>c__DisplayClass20.<ForEachItemCore>b__10() in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.Util.Logger.Catch(Action action) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Logger\Logger.cs:line 245
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 377
     at JetBrains.DataFlow.Signal`1.<.ctor>b__0(Signal`1 this, TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 533
at Signal(AddRemoveEventArgs`1::AddRemove) #1F.Fire[0](Action`3 , Signal`1 , 0 , Object )
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 492
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 258
     at JetBrains.DataFlow.CollectionEvents`1.InternalAddAnnotatee(TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 356
at CollectionEvents`1(IWpfTextView::VsTextViewSink.VsTextViewsGuarded).Add[0](Func`3 , 0 , Object )
     at JetBrains.DataFlow.CollectionEvents`1.InternalAdd(TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 314
     at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 538
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass6.<.ctor>b__0() in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextViewCollectorDevTen.cs:line 42
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 140
at Action(TmpHarvestViews).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 261
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 411
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 65
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 137
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass8.<.ctor>b__4() in c:\Work\ReSharper_Trunk\Platform\src\VsIntegration.DevTen\Src\TextControl\VsTextViewCollectorDevTen.cs:line 48
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 23
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 377
     at JetBrains.DataFlow.Signal`1.<.ctor>b__0(Signal`1 this, TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 533
at Signal(IVsTextView::RegisterView).Fire[0](Action`3 , Signal`1 , 0 , Object )
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 492
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\Work\ReSharper_Trunk\Platform\src\Util\src\DataFlow\Signal!1.cs:line 482
     at JetBrains.VsIntegration.Interop.Events.VsTextManagerEvents.Sink.Microsoft.VisualStudio.TextManager.Interop.IVsTextManagerEvents.OnRegisterView(IVsTextView pView) in c:\Work\ReSharper_Trunk\Platform\src\VSIntegration\src\Interop\Events\VsTextManagerEvents.cs:line 101
     at Microsoft.VisualStudio.TextManager.Interop.IVsTextManager.RegisterView(IVsTextView pView, IVsTextBuffer pBuffer)
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Init_InitializeWpfTextView()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Init_OnActivation()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.ShimHostNowVisible(Object sender, EventArgs e)
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.TextViewShimHost.OnLayoutUpdated(Object sender, EventArgs e)
     at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
     at System.Windows.ContextLayoutManager.UpdateLayout()
     at System.Windows.UIElement.UpdateLayout()
     at Microsoft.VisualStudio.PlatformUI.LayoutSynchronizer.Synchronize()
     at Microsoft.VisualStudio.PlatformUI.LayoutSynchronizer.LayoutSynchronizationScope.DisposeManagedResources()
     at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose(Boolean disposing)
     at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose()
     at Microsoft.VisualStudio.PlatformUI.Shell.View.Show()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.LoadDocumentStates(IStream stream, Int32 fExternal)
     at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32 grfOpenOpts, String pszFilename)
     at Microsoft.VisualStudio.PlatformUI.ProjectMruItem.OnOpen()
     at Microsoft.VisualStudio.PlatformUI.MruItem.OpenCommandHandler(IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.UIDispatch.Invoke(String verbName, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.MruListItems`1.OpenCommandHandler(String commandName, IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut, Boolean moveToTop)
     at Microsoft.VisualStudio.PlatformUI.MruListItems`1.OpenCommandHandler(IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.UIDispatch.Invoke(String verbName, Object pvaIn, Object& pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.DataSourceCollection.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.MruListBox.InvokeCommand(String command, Int32 index)
     at Microsoft.VisualStudio.PlatformUI.MruListBox.OpenMruItemExecuted(String openCommandName, Object sender, ExecutedRoutedEventArgs e)
     at Microsoft.VisualStudio.PlatformUI.MruListBox.OpenMruItemExecuted(Object sender, ExecutedRoutedEventArgs e)
     at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
     at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
     at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
     at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
     at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
     at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
     at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
     at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
     at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
     at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
     at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
     at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
     at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
     at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at System.Windows.Interop.HwndSource.InputFilterMessage(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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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