Error when publishing Umbraco page - Object reference not set to an instance of an object
This is one of those irritating errors that you come across every now and again and can take hours to diagnose.
If you've seen something like the error at the end of this post, then check that you don't have any document types which have an