Marker Bar Missing - VS2012 R# 7.0

Hi there,

I'm a licenced user of R# 7.0.1 Full.

Today I got problems after reboot. Firstly the RESHARPER menu doesn't show up at all, and my plugin doesn't work.
Then after reinstallation it shows again. But I can't see my Marker Bar anymore.

Under internal mode, I could see some exception happening.

ExceptionReport.jpg

From the happened time, I think the one seconds ago is the most possible. Here's the stack trace.
Could anyone please shed some light here? I'm living on it.
For your information, recently there're several windows update going on in my machine.


No such margin in the view.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “No such margin in the view.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
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)
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen.Init_PushStripeToMargin()
     at JetBrains.Util.Logger.Catch(Action action)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “No such margin in the view.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationDevTen..ctor(IVsTextView vsTextView, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, WindowsMessageHookManager windowsMessageHookManager, MainWindowPopupWindowContext mainWindowPopupWindowContext)
     at JetBrains.VsIntegration.DevTen.TextControl.TextViewShimImpl.VsTextViewShimImplementationFactoryDevTen.JetBrains.Platform.CommonServices.TextControlServices.IVsTextViewShimImplementationFactory.CreateInstance(IVsTextView vsTextViewRaw)
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim.AttachImplementation(IVsTextViewShimImplementationFactory factory)
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShimImplementationFactoryService.PushForEachCurrentFactoryValue_NotNull(Action`1 FEnter, Action`1 FLeave)
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewShim..ctor(VsTextViewSharedService owner, IVsTextView view)
     at JetBrains.Platform.CommonServices.TextControlServices.Impl.VsTextViewSharedService.CreateSharedTextView(IVsTextView textView)
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.Init_TextViewShared()
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen.<>c__DisplayClass4.<.ctor>b__0()
     at JetBrains.Util.Logger.Catch[TValue](Func`1 F)
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlWindowDevTen..ctor(VsTextControlDevTen owner, WindowFrame frame, IShellLocks locks, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, IDocumentMarkupManager documentMarkupManager, IHighlighterCustomization highlighterCustomization, DefaultTextControlSchemeManager defaultTextControlSchemeManager, IThemedIconManager iconman)
     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, IThemedIconManager iconman)
     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()
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstance()
     at JetBrains.Application.Components.TypeComponentDescriptor.CreateInstanceChecked(OnError onError)
     at JetBrains.Application.Components.TypeComponentDescriptor.get_Instance()
     at JetBrains.Application.Components.ComponentContainer.ResolveDescriptors(IEnumerable`1 descriptors)
     at JetBrains.Application.Components.ComponentContainer.Compose()
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstanceCore(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args)
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args)
     at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance[TInstance](Lifetime lifetime, IComponentContainer parent, Object[] args)
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextControlCreatorDevTen.CreateTextControl[TTextControl](CreateTextControlParams`1 param)
     at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.<>c__DisplayClass2.<.ctor>b__0(Lifetime lifetimeTextView, IWpfTextView textView)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass12`1.<>c__DisplayClass16.<ForEachItemCore>b__10()
     at JetBrains.Util.Logger.Catch(Action action)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass12`1.<ForEachItemCore>b__f(AddRemoveEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.InternalAdd(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items)
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass4.<.ctor>b__0()
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F)
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
     at JetBrains.VsIntegration.DevTen.TextControl.VsTextViewCollectorDevTen.<>c__DisplayClass4.<.ctor>b__1()
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     at JetBrains.VsIntegration.Interop.Events.VsTextManagerEvents.Sink.Microsoft.VisualStudio.TextManager.Interop.IVsTextManagerEvents.OnRegisterView(IVsTextView pView)
     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.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__86()
     at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
     at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
     at Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.HierarchyUtilities.<>c__DisplayClass22.<ExecHierParentChain>b__1f()
     at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError)
     at Microsoft.Internal.VisualStudio.PlatformUI.HierarchyUtilities.ExecHierParentChain(IVsHierarchyItemManager manager, IVsUIHierarchy lpUIHCmd, IVsUIHierarchy lpUIHCurrent, UInt32 itemidCurrent, Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.PlatformUI.HierarchyItem.HierarchyInvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview)
     at Microsoft.Internal.VisualStudio.PlatformUI.InvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview, Func`2 getController)
     at Microsoft.Internal.VisualStudio.PlatformUI.InvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview)
     at Microsoft.Internal.VisualStudio.PlatformUI.PivotTreeViewItem.InvokeItem(InputDevice sourceDevice)
     at Microsoft.Internal.VisualStudio.PlatformUI.PivotTreeViewItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
     at System.Windows.UIElement.OnMouseLeftButtonDownThunk(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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
     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.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
     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.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)


Cheers
Lene
3 comments
Comment actions Permalink

Hello,

If you have Power Tools extension installed, please try to disable it and re-run the ReSharper. It should help.

Thanks!

0
Comment actions Permalink

Hello Lene,

Ifmy previous advice won't help, please:
1. Go to "~\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\JetBrains\" folder
2. Remove all its content
3. Run 'Repair' on ReSharper installation
4. Launch VS normally once again (like, do not run ReSharper in internal mode).

Please let me know the results.
Thanks!

0
Comment actions Permalink

Hi Alex,

I didn't try the first way, after I posted here I found some issues recorded in youtrack.
The solution is the same as your second suggestion. It worked.:)
The next time I run internal mode, I shouldn't choose run in this hive only? Is this recommended?
I think I'll need to check the psi view often, and hope to avoid this happen again.

Thank you.

0

Please sign in to leave a comment.