Doc to docx conversion problem

Dear team,

We faced an issue during conversion from doc to docx embedded with macros. Kindly help resolve this bug ASAP.
Attached : word (.doc), Snipshot.

Input : input.zip (18.3 KB)

Error Snipshot : exception.png (9.5 KB)

@Vadivel_S_S,

Please remove macros before saving to DOCX format:

Document doc = new Document("D:\\Temp\\input\\input.doc");
doc.removeMacros();
doc.save("D:\\Temp\\input\\awjava-18.3.docx");

Thank you awais. Its working fine.