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?
We are using version 1.6.3.1723. 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.