[英]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 (相应地更改tfsServer , collectionName和projectName ;
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.