nono92_b

Hi,

I have suddenly met the following error when I try to create a new team project on a B3R team foundation server :
(Single server, Active Directory)

TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.AddToCache(ProjectInfo project, Identity identity, String parentSid, Boolean isDeleted)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncIdentity(ProjectInfo project, Identity identity, String parentSid, Boolean fPopulateMetaData)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.DeepSearch(ProjectInfo project, Identity group, String parentSid, Identity user)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncGlobalGroupMemberships(Identity userIdentity)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncMemberships(Identity userIdentity, ProjectInfo project)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncIdentity(String identityName, String projectUri)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncProject(ProjectInfo project)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.InitSync(String projectUri)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.Sync(String projectUri)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.DataAccessLayerImpl.SyncBisGroupsAndUsers(String serverName, String databaseName, String projectUri, String clientUserName)
   at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.SyncBisGroupsAndUsers(String projectUri)

Any Idea

Thanks



Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

Martin Woodward

Has one of your users been recently added/deleted or renamed in Active Directory





Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

David Zeller

I have the same problem on a Beta3Refresh Installation. Do you have any idea what could be the reason for that problem



Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

ThiagoAlipio

Hi Martin, I'm having the same problem and I notice that an Active Directory member have been recreated. After that, I cant create new team projects.

2007-03-01 09:57:44Z | Module: Engine | Task "GroupCreation1" from Group "Groups" completed with success | Completion time: 6.015625 seconds
2007-03-01 09:57:44Z | Module: Engine | Thread: 5 | Running Task "" from Group ""
2007-03-01 09:57:44Z | Module: Engine | Thread: 5 | Running Task "WITs" from Group "WorkItemTracking"
2007-03-01 09:57:44Z | Module: Work Item Tracking | Thread: 5 | Synchronizing users and groups.
---begin Exception entry---
Time: 2007-03-01 09:57:45Z
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid ---> Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid
SoapException Details: <detail><details id="-1" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception

Regards,

Thiago

Microsoft Visual Studio Team System and Team Foundation Team




Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

NielsJohansen

Hi,

We are having the exact same problem when creating a new team project. The TFS is on a single server using active directory. The error is:

2007-08-21 22:36:34Z | Module: Engine | Task "GroupCreation1" from Group "Groups" completed with success | Completion time: 8,4458484 seconds
2007-08-21 22:36:34Z | Module: Engine | Thread: 7 | Running Task "" from Group ""
2007-08-21 22:36:34Z | Module: Engine | Thread: 7 | Running Task "WITs" from Group "WorkItemTracking"
2007-08-21 22:36:34Z | Module: Work Item Tracking | Thread: 7 | Synchronizing users and groups.
---begin Exception entry---
Time: 2007-08-21 22:36:37Z
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: System.Web.Services.Protocols.SoapException: Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid ---> System.ArgumentNullException: Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.DeepSearch(ProjectInfo project, Identity group, String parentSid, Identity user)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncGlobalGroupMemberships(Identity userIdentity)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncMemberships(Identity userIdentity, ProjectInfo project)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncIdentity(String identitySid, String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncProject(ProjectInfo project)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.InitSync(String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.Sync(String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.DataAccessLayerImpl.SyncBisGroupsAndUsers(String serverName, String databaseName, String projectUri, String userSid)
at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.SyncBisGroupsAndUsers(String projectUri)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.WorkItemTracking.Server.ExceptionManager.ThrowProperSoapException(Exception e)
at Microsoft.TeamFoundation.WorkItemTracking.Server.Global.WebMethodExceptionHandler(Exception e)
at Microsoft.TeamFoundation.Server.TeamFoundationWebServiceBase.HandleException(LogRecord requestRecord, Exception e)
at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.SyncBisGroupsAndUsers(String projectUri)
SoapException Details: <detail><details id="-1" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Type: System.Web.Services.Protocols.SoapException
Exception Message: System.Web.Services.Protocols.SoapException: Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid ---> System.ArgumentNullException: Value cannot be null.
Parameter name: Identity object returned by ReadIdentities call is null for a valid sid
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.DeepSearch(ProjectInfo project, Identity group, String parentSid, Identity user)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncGlobalGroupMemberships(Identity userIdentity)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncMemberships(Identity userIdentity, ProjectInfo project)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncIdentity(String identitySid, String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.SyncProject(ProjectInfo project)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.InitSync(String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.BisSyncGroupsAndUsers.Sync(String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Server.DataAccessLayerImpl.SyncBisGroupsAndUsers(String serverName, String databaseName, String projectUri, String userSid)
at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.SyncBisGroupsAndUsers(String projectUri)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.WorkItemTracking.Server.ExceptionManager.ThrowProperSoapException(Exception e)
at Microsoft.TeamFoundation.WorkItemTracking.Server.Global.WebMethodExceptionHandler(Exception e)
at Microsoft.TeamFoundation.Server.TeamFoundationWebServiceBase.HandleException(LogRecord requestRecord, Exception e)
at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.SyncBisGroupsAndUsers(String projectUri)
SoapException Details: <detail><details id="-1" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" /></detail>
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientServiceProxy.SyncBisGroupsAndUsers(String projectUri)
at Microsoft.TeamFoundation.WorkItemTracking.Proxy.ClientService.SyncBisGroupsAndUsers(String requestId, String projectUri)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.SyncUsersAndGroups(ContextWrapper wrapper, String WebServiceUrl, String ProjectUri)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Synchronize(ContextWrapper wrapper)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---

No changes have been made in the TFS installation and process templates. Does anybody know the cause of this error .

Thanks

//niels




Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

NielsJohansen

Problem solved!

A user had been deleted and re-created i Active Directory. Manually updating the relevant SID in the table tbl_security_identity_cache in the TfsIntegration-database to reflect the changes solved the above problem.

//niels




Re: Team Foundation Server - Work Item Tracking Task "WITs" from Group "WorkItemTracking" failed

DC_J

Could you be more specific about how to solve this issue I seem to be experiencing the same issue. When I looked at the table, I found two entries for the same person. Did you make the SID the same for both or did you delete one of them

Is this the only way to solve this