I have a program that generates invoices using docx4j. It's working really well. I have 2 tables and about 10 merge fields inside text boxes. 80% of the time is working right, but sometimes docx4j is deleting 2 text boxes and a blue line graphic object that has nothing to do with the fields.
When this happens one time, every time i try to create an invoice, it fails. I have to restart the entire program (i think its necessary to reinitizalize the API) to get it working again.
Any ideas of what is happening?