Page 1 of 1

Error while Processing Wordfile

PostPosted: Fri May 22, 2020 11:58 pm
by mrmasterdata
Hey Jason,
we need your help regarding word processing. We use docx4j since version 2.0.6. The files attachted are created with the nevest version (by maven)
We have a working wordfile. When this is used as template, we get no errors and the file can be opened.
.1.1 template file is: Anwaltsvollmacht_Urkopie.docx
.1.2 successful processed file is: Anwaltvollmacht_TESCHT.docx

We needed to modify the file. We only took few lines away and got errors while processing the file. If we open the file we got an error "... non readable content within..."
.2.1 template file is: Anwaltsvollmacht_Urkopie_2.docx
.2.2 processed file is: Anwaltvollmacht_TESCHT_2.docx (with errors)

can you tell us whats wrong with our template file? We use docx4j for many template files and never got these errors. Try it: take the .1.1 file and change only few lines. You will get the error "blabla... no readable content".

What did we wrong?

Re: Error while Processing Wordfile

PostPosted: Sat May 23, 2020 7:47 am
by jason
When you say "newest version", do you mean 8.1.6? (This is newer than 11.1.3). If not, please try 8.1.6 and let me know if it helps.

Re: Error while Processing Wordfile

PostPosted: Thu May 28, 2020 5:27 pm
by mrmasterdata
Good morning Jason,

thx for your reply: the newst version i can get via maven is 6.1.2

how can i get 8.1.6 via maven - i will test it then!
best regards

Re: Error while Processing Wordfile

PostPosted: Fri May 29, 2020 8:06 am
by jason
Please see instructions at

As it says there, select one and only one of:

docx4j-JAXB-Internal (available for docx4j 8.1.x only),
docx4j-JAXB-MOXy (for docx4j 8 or 11),
docx4j-JAXB-ReferenceImpl (for docx4j 8 or 11)

Current versions are 8.1.7 or 11.1.7 (if you are using JPMS and want module-info)

Re: Error while Processing Wordfile

PostPosted: Sat Jul 04, 2020 4:47 am
by mrmasterdata
Hey Jason!
mea culpa - it is working now in our test environment. I am going to implement it in our working setup and will give a info if everything is fine.
best regards!