We are using Aspose.Words.jdk16.jar to generate PDF from the doc template in the attachment. The attached doc template has a merge field BillToContact.Address1. When this field is given only "B1" or given a value starting with "B1-", the generation process runs into exception. Could you help identity the root cause.
Your query is related to Aspose.Words, so I am moving it to Aspose.Words forum where my fellow workers from respective team will further look into this matter and will reply accordingly.
Thanks for your inquiry. I am afraid, the .doc file attached in your first post has now 0kb file size when downloaded on my side. Please zip your .doc document and attach it again here for testing. We apologize for any inconvenience.
We also suggest you please upgrade to Aspose.Words for Java 16.6.0 and see how it goes on your end. You can download it from here:
After an initial test with Aspose.Words for Java 16.6.0, I was unable to reproduce this issue on my side (please see attached 16.6.0.pdf). I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.