I get the following error from my template.
Object reference not set to an instance of an object.
I now know that the validate function does not really check for all errors, and you get this if there's an error somewhere. Problem is figuring our where the error is. There is no debugger of syntax checker in the editor.
The interesting thing is that the template will sometimes run, and other times give me this error. Don't get it.
Is there a log file somewhere that will tell me exactly what its failing on. Like a line number or something?
Also, there seems to be no way to see if there are errors in a template when run. Yes, you get an error if it can't connect or login, but not if a statement in the template fails. You have to look at the output from each one and check for errors.