运行Visual Studio时,此崩溃堆栈跟踪是什么?

时间:2017-11-01 00:17:51

标签: visual-studio visual-studio-2013

我正在使用Visual Studio 2013.当我尝试打开它时,它会与此堆栈跟踪崩溃。我不确定出了什么问题。

我尝试在安全模式下运行VS,我删除了所有* .suo文件,我删除了所有* .user文件 - 他们没有帮助。谢谢!

Unexpected exception Buffer cannot be null.
Parameter name: buffer  
  at Microsoft.VisualStudio.Shell.ThreadHelper.InvokeOnUIThread(InvokableBase invokable)

  at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.AvatarCache..ctor(AvatarSize size, Byte[] value, Boolean isGenerated, Logger logger)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ProfileCache..ctor(Profile profile, Guid serverId, Uri profileUri, String emailAddress, Logger logger)
   
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.Connector.<ConnectAsync>d__1.MoveNext()
  
--- End of stack trace from previous location where exception was thrown ---

  
  
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeUserSession.<ConnectAndInitializeSessionAsync>d__a.MoveNext()

  --- End of stack trace from previous location where exception was thrown ---
  
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 
  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsyncImpl>d__17.MoveNext()
--- 
  End of stack trace from previous location where exception was thrown ---

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

  at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.&lt;PollConnectAsync&gt;d__22.MoveNext()</description>

1 个答案:

答案 0 :(得分:3)

我也是!我在4小时前成了同样的现象。 我在尝试下面的命令时取得了进展。 我再次登录后就开始使用它了。

C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ Common7 \ IDE&gt; devenv.exe / ResetUserData