"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\TFSBuild.exe" start http://test-team:8080/ IQ "Messaging Service Install Build" /m:shaundev /b:c:\builds
Microsoft (R) TfsBuild Version 8.0.0.0
for Microsoft (R) Visual Studio 2005 Team System
Copyright (C) Microsoft Corporation 2004. All rights reserved.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.Build.Common.CommonBuildTypeUtil.GetConfigDetailsList(String tfsName, String project, Boolean download)
at Microsoft.TeamFoundation.Build.Common.CommonBuildTypeUtil.VerifyAndGetBuildType(String server, String project, String buildtype)
at Microsoft.TeamFoundation.Build.CommandLine.CommandLineBuild.StartCommand()
at Microsoft.TeamFoundation.Build.CommandLine.CommandLineBuild.Main(String[] args)
Process completed with exit code -1073741819
Step 'Team Build Messaging' failed
I cannot build any of my team builds and I get the same error even for every newly created build
Please Help!
Thanks

Team Build Suddenly stopped working: System.NullReferenceException: Object reference not set to an instance of an object.
genocide77
Thanks,
Gautam
Hossam El-Deen
Here is what I did:
1. I renamed the folder as you suggested to $<TeamProject>/TeamBuildTypesNew
2. Checked in the rename
3. Created a new build type with the wizard and it worked!!!
4. I then tried adding my old build scripts to the newly created TeamBuildTypes Directory using Source Safe and it now works.. I will now move all of them over using sourcesafe.
Regarding Locating the Issue:
1. I have only used Beta 3.
2. I was able to see every build type in the team explorer and I was able to open them but as soon as I clicked the build button it would give me that Object Reference Not set to an instance of an object msg box.
3. The only thing that I can remember doing is I had to nuke my local directory and then I did a get latest on all but I did not physically change the permissions in windows file explorer.
Thank YOU SO MUCH!! I will respond back here if it happens again!
Eric Murphy
It looks like there is some issue with getting the list of Build Types from the server. Can you first try the following workaround and then we'll try to dig down to the issue
Workaround
Locating the issue
To help locate the issue can you give me more information regarding the following
Qi Sheng
Great to know that you're unblocked.
However, we have not seen anything like this before so I'd like to investigate further and try to figure out what went wrong.
Can you please try the following....
In the background we download the Build Types to the temp folder and the above step ensure that there were no permission issues with your account.
Please send me an email at abhinab AT microsoft.com. In case the above steps goes through fine, I'll email you a small code snippet to run on your computer and that should be able to figure out the issue....