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

RSRP-288635: No such margin in the view.

$
0
0
Reporter Slava Trenogin (derigel) Slava Trenogin (derigel)
Created Feb 29, 2012 2:51:59 PM
Updated Feb 29, 2012 2:51:59 PM
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 Consumer Preview Version=7.0.0.27, Built=2012-02-28T12:44:06, Configuration=“Csharp InternalMode Vbnet VS1100”
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.VisualStudio.v10.v11
StackTraceString = “
  at JetBrains.VsIntegration.DevTen.TextControl.Marginal.VsTextControlMarginDevTenEx.GetMargin(IWpfTextView view, Dock dock) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\Marginal\VsTextControlMarginDevTenEx.cs:line 50
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen.Init_PushStripeToMargin() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationDevTen.cs:line 122
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\Logger.cs:line 243


--- 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 = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen..ctor(IVsTextView vsTextView, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationDevTen.cs:line 68
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationFactoryDevTen.JetBrains.Platform.CommonServices.TextControlServices.IVsTextViewShimImplementationFactory.CreateInstance(IVsTextView vsTextViewRaw) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\TextViewShimImpl\VsTextViewShimImplementationFactoryDevTen.cs:line 24
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim.AttachImplementation(IVsTextViewShimImplementationFactory factory) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShim.cs:line 166
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShimImplementationFactoryService.PushForEachCurrentFactoryValue_NotNull(Action`1 FEnter, Action`1 FLeave) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShimImplementationFactoryService.cs:line 82
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim..ctor(VsTextViewSharedService owner, IVsTextView view) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewShim.cs:line 63
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewSharedService.CreateSharedTextView(IVsTextView textView) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\CommonServices\src\TextControlServices\Impl\VsTextViewSharedService.cs:line 110
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.Init_TextViewShared() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlWindowDevTen.cs:line 0
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.<>c__DisplayClass4.<.ctor>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlWindowDevTen.cs:line 46
     at JetBrains.Util.Logger.Catch[TValue](Func`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\Logger.cs:line 261
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen..ctor(VsTextControlDevTen owner, WindowFrame frame, IShellLocks locks, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, IDocumentMarkupManager documentMarkupManager, IHighlighterCustomization highlighterCustomization, DefaultTextControlSchemeManager defaultTextControlSchemeManager) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlWindowDevTen.cs:line 47
     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, IHighlighterCustomization highlighterCustomization) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlDevTen.cs:line 85
     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceImpl() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 205
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstance() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 228
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceChecked(OnError onError) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 241
     at JetBrains.Application.Components.TypeComponentDescriptor.get_Instance() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\TypeComponentDescriptor.cs:line 44
     at JetBrains.Application.Components.ComponentContainer.ResolveDescriptors(IEnumerable`1 descriptors) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\ComponentContainer.Registration.cs:line 120
     at JetBrains.Application.Components.ComponentContainer.Compose() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\ComponentContainer.cs:line 145
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\FactoryComponentContainer.cs:line 75
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance[TInstance](Lifetime lifetime, IComponentContainer parent, Object[] args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ComponentModel\src\Components\FactoryComponentContainer.cs:line 26
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlCreatorDevTen.CreateTextControl[TTextControl](CreateTextControlParams`1 param) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextControlCreatorDevTen.cs:line 125
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.<>c__DisplayClass2.<.ctor>b__0(Lifetime lifetimeTextView, IWpfTextView textView) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 57
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass17`1.<>c__DisplayClass20.<ForEachItemCore>b__10() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Extension\ICollectionEventsEx.cs:line 209
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\Logger.cs:line 243
     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 210
     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.InternalAdd(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 373
     at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\CollectionEvents!1.cs:line 552
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass4.<.ctor>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextViewCollectorDevTen.cs:line 48
     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.<>c__DisplayClass4.<.ctor>b__1() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsTextViewCollectorDevTen.cs:line 55
     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.Signal`1.Fire(TValue value) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.VsIntegration.Interop.Events.VsTextManagerEvents.Sink.Microsoft.VisualStudio.TextManager.Interop.IVsTextManagerEvents.OnRegisterView(IVsTextView pView) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\Interop\Events\VsTextManagerEvents.cs:line 98
     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.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
     at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
     at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
     at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
     at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
     at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
     at Microsoft.VisualStudio.Platform.WindowManagement.DTE.Window.set_Visible(Boolean value)
     at Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase.<>c__DisplayClass3f.<set_Visible>b__3e()
     at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
     at Microsoft.VisualStudio.Platform.WindowManagement.DTE.WindowBase.set_Visible(Boolean value)
     at Microsoft.VisualStudio.TemplateWizard.Wizard.OpenNotedItems(String destDir, List`1 wizardExtensions, Project project)
     at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
     at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive)
     at Microsoft.VisualStudio.Web.Mvc.UserInterface.MvcTemplateWizard.RunFinished()
     at Microsoft.VisualStudio.Web.Mvc.UserInterface.MvcTemplateWizardBase.Microsoft.VisualStudio.TemplateWizard.IWizard.RunFinished()
     at Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
     at EnvDTE100.Solution4.AddFromTemplateEx(String FileName, String Destination, String ProjectName, String SolutionName, Boolean Exclusive, UInt32 Options)
     at Microsoft.VisualStudio.Dialogs.ServiceHelper.AddProjectFromSelectedTemplate(INewProjectDialogData dialog, String projectPath, Boolean isExclusive)
     at Microsoft.VisualStudio.Dialogs.SVsDialogService.CreateProject(INewProjectDialogData npdd)
     at Microsoft.VisualStudio.Dialogs.SVsDialogService.InvokeDialog(VSNEWPROJECTDLGINFO dlgInfo, String& bstrLocation)
     at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(Object parameter)
     at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
     at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
     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.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     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.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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>