Why do I receive the error "Object reference not set to an instance of an object?"?
This problem can occur when you have tables in your template and you are using the tables to display information about traces.
This is a known issue in DocumentFactory2 and the work around for this problem is to enable the original Document Factory. To enable the original DocFactory follow the steps in the following article,
How can the original Document Factory be invoked in CaliberRM 2008?