When processing a Word document (.doc) that is read-protected with a password using the msword_adapter_3_2.jar an exception is thrown with the message "ord Adapter couldn't extract metadata: - The document password is incorrect."
This excpetion is thrown in nz.govt.natlib.adapter.word.WordAdapter.java, line 105 where the Asprose Document object is instantiated. The previous version of this class did not have the Asprose code so was able to handle a password-protected Word document and provide metadata.
Please consider wrapping the new Aprose code (which provides additional properties) with an extra try/catch block so any failure with this code will still result in being able to provide previously available metadata.
Please take the latest code from 'https://github.com/DIA-NZ/Metadata-Extraction-Tool.git'. The code on source forge will not be updated henceforth as it is moved to github. Thanks.