When I moved my dotnet project from my workstation to CC.net server (64 bit windows 2003 server), this problem appears:
System.NullReferenceException: Object reference not set to an instance of an object.
There is a solution on Jeffery Palermo’s blog in which a extra dotnet 3.5 configuration is provided. I didn’t want to do this at first because the version I have (.86 beta1) already include this part. I decided to change my xml file little by little with no good, finally, I copied the whole piece of Jefferyof xml about .net 35 config to NAnt.exe.config, the problem was fixed then.
There must be something different in the assembly list, for 64 bit server maybe?