Note that there are some explanatory texts on larger screens.

plurals
  1. POTFS Command-line Crashing
    primarykey
    data
    text
    <p>I'm trying to set up a build script involving code checked into TFS 2010. Everything works fine from the IDE, but the command-line functions crash every time I try to access it. Specifically, "tf workspace" and "tf workspaces" work just fine, but "tf history," "tf get," and anything else that might be useful create an unhandled exception. No matter how I format these commands, the program still crashes. I have looked everywhere on the Internet for a key to this problem, to no avail. This is driving me nuts. Here is a sample, run from a "Visual Studio Command Prompt:"</p> <pre><code>tf history * /version:T Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.TeamFoundation.VersionControl.Controls.DialogHistory.set_Workspace(Workspace value) at Microsoft.TeamFoundation.VersionControl.CommandLine.CommandHistory.Run() at Microsoft.TeamFoundation.VersionControl.CommandLine.VersionControlCommandLine.RunCommand(String commandName, String[] args, Boolean&amp; showExitCode) at Microsoft.TeamFoundation.Client.CommandLine.RunCommand(String[] args) at Microsoft.TeamFoundation.Client.CommandLine.Run(String[]&amp; args) at Microsoft.TeamFoundation.VersionControl.CommandLine.VersionControlCommandLine.Main(String[] args) </code></pre> <p>I apologize if the use of the command is totally wrong, but given that everything I put in makes it crash, I have no frame of reference.</p> <p>UPDATE:</p> <p>[I originally posted this comment, but it was deleted as the moderator felt it was more of an "update" than an answer.]</p> <p>Thank you all for the tips. The day I posted this our TFS server crashed and had to be re-created. I didn't change any of the code or workspaces. When our IT guy recreated it, everything worked perfectly. I have tried to find some difference between the old and new server for the sake of posterity, but I have not found anything.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload