【发布时间】:2018-03-07 15:58:46
【问题描述】:
[W10 Pro x64 v1709,Visual Studio 2017 社区 15.6.0,AnkhSVN 2.7.12815.35086]
我在 VS 2017 的 AnkhSVN 的 VS 启动时遇到了崩溃。我相信这只是今天才开始发生的 - 我不记得上次打开 IDE 时发生过这种情况。卸载/重新安装扩展没有帮助。当我尝试打开 Pending Changes 窗口时出现错误消息:
AnkhSVN 异常
发生内部错误:
对象引用未设置为对象的实例。
堆栈跟踪:
System.NullReferenceException: Object reference not set to an instance of an object.
at Ankh.UI.PendingChanges.PendingChangesToolControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at Ankh.VSPackage.AnkhToolWindowPane.get_Window()
at Microsoft.VisualStudio.Shell.Package.ToolWindowCreationResult..ctor(WindowPane window, UInt32 flags)
at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags, Object context, Guid persistenceGuid)
at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, Object context)
at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id)
at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
at Ankh.VSPackage.AnkhSvnPackage.ShowToolWindow(AnkhToolWindow toolWindow, Int32 id, Boolean create)
at Ankh.VSPackage.AnkhSvnPackage.ShowToolWindow(AnkhToolWindow window)
at Ankh.Commands.UI.ShowToolWindows.OnExecute(CommandEventArgs e)
at Ankh.Commands.CommandMapItem.OnExecute(CommandEventArgs e)
at Ankh.Commands.CommandMapper.Execute(AnkhCommand command, CommandEventArgs e)
故障排除/修复建议?
【问题讨论】:
-
尝试昨晚/每日构建:ankhsvn.open.collab.net/daily/2.7.x,如果仍未修复,请创建错误条目:ankhsvn.net/issues
-
@magicandre1981 我没有看到任何与 VS17 兼容的构建(VSIX 安装程序)
-
@magicandre1981 MS 已经承认这是他们的问题,将会有一个 VS 更新来修复它。
-
谢谢。我使用 VisualSVN,这里没有问题。所以作为一种解决方法改变它
标签: exception visual-studio-2017 ankhsvn