Reporter | Oisin Grehan (x0n) |
---|---|
Created | Mar 5, 2012 5:00:16 AM |
Updated | Mar 5, 2012 9:19:30 PM |
Resolved | Mar 5, 2012 5:08:06 AM |
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 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-03T00:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
The raw IVsTextBuffer interface is Null.
--- EXCEPTION #1/2 [NullReferenceException]
Message = “The raw IVsTextBuffer interface is Null.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.VisualStudio.Core
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The raw IVsTextBuffer interface is Null.”
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 = “
”
The raw IVsTextBuffer interface is Null.
--- EXCEPTION #1/2 [NullReferenceException]
Message = “The raw IVsTextBuffer interface is Null.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = JetBrains.Platform.ReSharper.VisualStudio.Core
StackTraceString = “
at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.AssertNotNull() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 235 at JetBrains.VsIntegration.DevTen.Interop.Extension.ITextBufferEx.GetIVsTextBuffer(ITextBuffer buffer, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\Interop\Extension\ITextBufferEx.cs:line 24 at JetBrains.VsIntegration.DevTen.TextControl.VsAttachTextControlsToTextViews.TryGetCreateParams(IWpfTextView view, IVsRunningDocumentTable rdt, VsWindowFrameManager vsWindowFrameManager, IShellLocks invocator, ISolution solution, IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, ProjectModelSynchronizer pms, WindowsMessageHookManager hookman) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\v10.v11\Src\TextControl\VsAttachTextControlsToTextViews.cs:line 82 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 55 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
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The raw IVsTextBuffer interface is Null.”
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.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.get_WpfTextViewHost() at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.GetData(Guid& riidKey, Object& pvtData) at Microsoft.VisualStudio.Editor.Implementation.VsEditorAdaptersFactoryService.GetWpfTextViewHostFromVsTextView(IVsTextView viewAdapter) at Microsoft.VisualStudio.Editor.Implementation.VsEditorAdaptersFactoryService.GetWpfTextViewHost(IVsTextView viewAdapter) at Microsoft.VisualStudio.Differencing.Package.DiffViewerCodeWindow.<>c__DisplayClass2.<InitializeViewer>b__0(IDifferenceTextViewModel textViewModel, ITextViewRoleSet baseRoles, IEditorOptions options, FrameworkElement& visualElement, IWpfTextViewHost& textViewHost) at Microsoft.VisualStudio.Text.Differencing.Implementation.DifferenceViewer.Initialize(IDifferenceBuffer differenceBuffer, CreateTextViewHostCallback createTextViewHost, IEditorOptions parentOptions) at Microsoft.VisualStudio.Differencing.Package.DiffViewerCodeWindow.InitializeViewer() at Microsoft.VisualStudio.Differencing.Package.DiffPackage.DiffFiles(String leftFile, String rightFile, IVsWindowFrame& windowFrame, UInt32 options, String caption, String tooltip, String leftLabel, String rightLabel, String inlineLabel, String roles, Boolean packageIsLoading) at Microsoft.VisualStudio.Differencing.Package.DiffPackage.<>c__DisplayClass7.<OpenComparisonWindow2>b__6() at Microsoft.VisualStudio.Shell.InvokableFunction`1.InvokeMethod() at Microsoft.VisualStudio.Shell.InvokableBase.Invoke() 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.TeamFoundation.VsipHost.VsipHostWrapper.ShowModalDialog(Form form, IWin32Window parent, Boolean showHelpButton) at Microsoft.TeamFoundation.Client.UIHost.ShowModalDialog(Form form, IWin32Window parent) at Microsoft.VisualStudio.TeamFoundation.VersionControl.SolutionManager.GoOnline(Boolean forceAuthenticate) at Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage.OnOnline() at Microsoft.VisualStudio.TeamFoundation.VersionControl.CommandHandlerPackage.Online_Exec(CommandHandler handler, Command command, Int32 commandId) at Microsoft.VisualStudio.TeamFoundation.CommandHandler.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.TeamFoundation.VersionControl.HatPackage.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) 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) at Microsoft.VisualStudio.PlatformUI.NativeMethods.DispatchMessage(MSG& lpmsg) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.<PushMessageLoopOnContextMenuTrackingComponent>b__69(Object sender, PreTranslateMessageEventArgs args) at Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.FPreTranslateMessageCore(MSG[] pMsg) at Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage(MSG[] pMsg) at Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop(UInt32 dwComponentID, UInt32 uReason, IntPtr pvLoopData) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() at Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Labs.HierarchyUtilities.<>c__DisplayClass22.<ExecHierParentChain>b__1e() at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method) at Microsoft.VisualStudio.Labs.HierarchyUtilities.ExecHierParentChain(IVsHierarchyItemManager manager, IVsUIHierarchy lpUIHCmd, IVsUIHierarchy lpUIHCurrent, UInt32 itemidCurrent, Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Labs.HierarchyItem.HierarchyContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location) at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location, Func`2 getController) at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location) at Microsoft.VisualStudio.Labs.PivotTreeView.OnContextMenuOpening(ContextMenuEventArgs e) at System.Windows.FrameworkElement.OnContextMenuOpeningThunk(Object sender, ContextMenuEventArgs e) at System.Windows.Controls.ContextMenuEventArgs.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.ContentElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Controls.PopupControlService.RaiseContextMenuOpeningEvent(IInputElement source, Double x, Double y, Boolean userInitiated) at System.Windows.Controls.PopupControlService.ProcessMouseUp(Object sender, MouseButtonEventArgs e) at System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 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.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)