Octopus Errors When Building In TFS

Frequently I get the following errors when doing a build:

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at OctopusTools.Program.PrintError(Exception ex)
at OctopusTools.Program.Main(String[] args)

And to solve the issue, all I have to do is rebuild, but for continuous integration this is causing problems. However, sometimes I have to retry a build multiple times before it succeeds. Any clues as to what is causing this?

I am using Visual Studio 2013 and TFS 2013.

Hi - thanks for getting in touch. Which version of octo.exe are you using?


We are using version I am waiting for another machine to be built and then we will be upgrading to the latest version. What I discovered was there was an issue with ProGet and that was causing >2 builds to be tried. We resolved the ProGet issue, but the error still occasionally occurs, but when I retry the build it usually works on the next try.

Jim Bruso| Senior Software Developer | TrueBlue, Inc.
1015 A St, Tacoma, WA 98402