A regular document is exported and we need to know the last version (if any) to set the metadata on document. The document manager obtains the last version and it tries to read it as document model: the node has no name, hence JCRDocument implementation throws NPE. Metadata are not exported, the import won't be able to import it.
Check if the name is really needed. If not, just block the NPE. If yes, the export tool should consider there is no version registered and set the metadata accordingly.