简体   繁体   English

Visual Studio 2015在“我的工作”选项卡上显示“对象引用未设置为对象的实例”错误

[英]Visual Studio 2015 shows “Object reference not set to an instance of an object” error on “My Work” tab

At work, I recently migrated from Visual Studio 2013 to Visual Studio 2015 for the solution I work on. 在工作中,我最近从Visual Studio 2013迁移到Visual Studio 2015以获得我所使用的解决方案。 I am now running Visual Studio Enterprise 2015, version 14.0.25420.01 Update 3, and things seem to be working fine for the most part, except as follows: 我现在正在运行Visual Studio Enterprise 2015,版本14.0.25420.01更新3,除了以下内容之外似乎工作正常:

On my team, we use the built-in Visual Studio code reviews functionality for reviewing our work. 在我的团队中,我们使用内置的Visual Studio代码审查功能来审查我们的工作。 When I go to the "My Work" tab, where I'd expect to see the code reviews I currently have submitted, it incorrectly says "No code reviews", and at the top top of the tab, there is a banner that says "Object reference not set to an instance of an object". 当我进入“我的工作”标签时,我希望看到我目前提交的代码评论,它错误地说“没有代码评论”,并且在标签的顶部,有一个横幅说“你调用的对象是空的”。 Likewise, the same banner is displayed whenever a new code review is submitted. 同样,每当提交新的代码审查时,都会显示相同的横幅。 Below is a screenshot of the "My Work" tab: 以下是“我的工作”标签的屏幕截图:

我的工作标签

The code review requests are being sent properly, and I get notified when my reviewer has signed off, but once I've submitted a review I can't return to it. 代码审核请求正在正确发送,当我的审核人员已经注销时,我会收到通知,但是一旦我提交了审核,我就无法返回。 Has anyone else experienced this issue? 还有其他人遇到过这个问题吗?

I had the same issue and found 2 possible solutions: 我有同样的问题,找到了2个可能的解决方案:

1- Migrate to Visual Studio 2017 1-迁移到Visual Studio 2017

It seems odd, but VS 2017 does NOT have the same behavior. 这似乎很奇怪,但VS 2017没有相同的行为。 The My Work tab opens normally on the same server/collection/project that has the error on VS 2015. “我的工作”选项卡通常在VS 2015上出现错误的同一服务器/集合/项目上打开。

2- Grant Read and Contribute permissions in Shared Queries to the user facing the problem 2-向共享查询中的读取和贡献权限授予面临问题的用户

To do that follow the steps bellow: 为此,请按照下面的步骤操作:

a. 一种。 Access http://tfsServer:8080/tfs/collectionName/projectName/_workItems/index (change tfsServer , collectionName and projectName accordingly; 访问http:// tfsServer:8080 / tfs / collectionName / projectName / _workItems / index (相应地更改tfsServercollectionNameprojectName ;

b. Access Shared Queries security submenu; 访问共享查询安全子菜单;

c. C。 Grant Contribute and Read permissions to the user (or group); 授予用户(或组)的Contribute和Read权限;

Regards. 问候。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 visual studio 2015无法连接到p4v,获取“对象引用未设置为对象的实例” - visual studio 2015 can't connect to p4v, getting “object reference not set to an instance of an object” Visual Studio 2015:创建Azure移动应用程序时,“对象引用未设置为对象的实例” - Visual Studio 2015: “Object reference not set to an instance of an object” when creating Azure Mobile App 如何删除在删除或更新期间给出“对象引用未设置为对象实例”错误的 Visual Studio 扩展? - How to remove a Visual studio extension that gives a 'Object reference not set to an instance of an object' error during removal or update? 适用于Visual Studio的Azure流分析工具:执行聚合查询时出错-“对象引用未设置为对象的实例” - Azure Stream Analytics tools for Visual Studio: Error when executing aggregated queries - “Object reference not set to an instance of an object” 创建新项目或打开项目时出现 VS 2015 错误“对象引用未设置到对象的实例”? - VS 2015 Error “Object reference not set to an instance of an object” when creating a new project or opening a project? 当我创建新的Android应用程序(Visual Studio)时,对象引用未设置为对象的实例 - Object reference not set to an instance of an object When I create new Android App (Visual Studio) 在 VS2015 中从包管理器控制台安装 Entityframework 7 时出现 Nuget 错误“对象引用未设置为对象的实例” - Nuget error “Object reference not set to an instance of an object” while installing Entityframework 7 from Package Manager Console in VS2015 Visual Studio 2015 添加类,错误:“对象已存在” - Visual Studio 2015 Add Class, Error: “object already exists” NuGet包管理器不在VS2015上搜索或安装 - 对象引用未设置为对象的实例 - NuGet Package Manager not searching or installing on VS2015 - Object reference not set to an instance of an object 在Visual Studio 2015中填充位图对象的问题 - Issue with populating Bitmap Object in Visual Studio 2015
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM