OpsHub:错误对象引用未设置为对象的实例 [英] OpsHub: ERROR Object reference not set to an instance of an object

查看:115
本文介绍了OpsHub:错误对象引用未设置为对象的实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在考虑从本地TFS迁移到Visual Studio Online的选项.运行迁移工具,它会在验证过程中显示此错误:

We're checking into the option of moving to Visual Studio Online from our on premises TFS. Running the migration tool, it shows this error during validation:

错误对象引用未设置为对象的实例.

ERROR Object reference not set to an instance of an object.

我正在尝试使用迁移工具的1.2.0版从TFS 2013服务器迁移到Visual Studio Online上的新设置.

I'm trying to migrate to a new setup on Visual Studio Online from our TFS 2013 server using version 1.2.0 of the migration tool.

这是完整的日志条目:

2015-05-12 13:21:40,383 [1] ERROR Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at TFSMigrationUI.ViewModel.MigrationSummeryViewModel.worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in e:\OVSMUBranch\TFSMigrationUI\ViewModel\MigrationSummeryViewModel.cs:line 928
   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)

任何帮助将不胜感激.

推荐答案

迁移实用程序希望在您创建VSO帐户时默认创建的VSO帐户组中存在项目收集服务帐户".一些未知的问题(在您的情况下,在创建该组的特定日期之间创建了一些帐户,称为"Team Foundation Service帐户"),因此迁移实用程序无法找到所需的组,从而导致了您面临的问题,您可以继续通过创建VSO组"Project Collection Service Accounts"进行迁移,在该组中添加用于身份验证实用程序的VSO帐户的用户,并确保新创建的VSO组是"Team Foundation Administrators"的成员,因此您不会遇到任何与权限相关的问题.

The Migration Utility expects "Project Collection Service Accounts" to be present in the VSO account Groups which is created by default when you create your VSO account, but due to some unknown issue some accounts created between the specific date this group was created as "Team Foundation Service Accounts" as in your case, so the migration utility was not able to find the desired group which resulted in the issue you are facing, you can continue the migration by creating a VSO group "Project Collection Service Accounts", add the user in this group which was used for authentication of VSO account for migration utility and make sure the newly created VSO group is a member of "Team Foundation Administrators" so you won't encounter any permission related issue.

这篇关于OpsHub:错误对象引用未设置为对象的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆