Word to XML Mapping
You are working with Word. You are mapping a field to XML and you end up getting this error
Object reference not set to an instance of an object
The error can result if the field that you mapping to is underlined. Simply select the richedit text box (that you place from developer menu in Microsoft office 2007). Bring the cursor inside and remove any character that is there. Just leave the mapping only. Hopefully this issue will be resolved.
I had to go a long way to figure this out. I thought I would share.