If you experience a NullReference Error while trying to run tasks like Create Document, the reason for the problem can be that the VMIPRS table is empty. Rebuild online tables as described in the preparation section of this guide.