ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY

Hi.

I am trying to write on a .docx Alfresco document using docx4j. I have following error:

org.alfresco.scripts.ScriptException: 04150039 Failed to execute supplied script: org.alfresco.service.cmr.repository.ContentIOException:

04150038 Failed to copy reader content to writer:
writer: ContentAccessor[ contentUrl=store://2020/5/15/2/20/524c6963-c8ac-44f9-8e70-ad41510696f1.bin, mimetype=application/pdf, size=0, encoding=UTF-8, locale=it_IT]
source reader: ContentAccessor[ contentUrl=store://2020/5/15/1/47/06ffef3f-e16d-45dd-884a-98d6976f35b9.bin, mimetype=application/vnd.openxmlformats-officedocument.wordprocessingml.document, size=741148, encoding=UTF-8, locale=en_US]

Any ideas about problem?

Thank You in advance, Leonardo.

4 Replies
Highlighted
Senior Member II

Re: ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY

Hi,

Can you share the code how you are creating document?

Thanks & Regard,
Sanjay
Highlighted
Member II

Re: ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY

Hi.

Thank You for your replay, but finally we solved our problem with an amazing integration of docx4j with Alfresco.

Anyway thanks,

Leonardo.

Community Manager
Community Manager

Re: ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY

Hi @lpercoco ,

Glad you got it working. Would be awesome if you could tell us what you did to get it working.

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Highlighted
Member II

Re: ERROR WRITING ON .DOCX ALFRESCO DOCUMENT VIA DOCX4J LIBRARY