Content Transformation Error

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

Content Transformation Error

When i upload a plain excel file to the documentlibrary, document preview is working. After (online) editing the file 2-3 times, the preview stops to work and says, that it is unable to generate the pdf.

Within the logs the following error is thrown:
2020-09-22 11:03:35,451 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-18] Exception from executeScript: 08220033 Wrapped Exception (with status template): 08220051 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 08220050 08220049 A rendition of name: {http://www.alfresco.org/model/content/1.0}pdf should have been created for source node: workspace://SpacesStore/e5862b81-2361-4cfa-9e3e-41741409e83a
org.springframework.extensions.webscripts.WebScriptException: 08220033 Wrapped Exception (with status template): 08220051 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 08220050 08220049 A rendition of name: {http://www.alfresco.org/model/content/1.0}pdf should have been created for source node: workspace://SpacesStore/e5862b81-2361-4cfa-9e3e-41741409e83a
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1139)
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:202)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)

setting the transformer log level to trace, it gives the following output:
2020-09-22 11:03:33,858 DEBUG [content.transform.TransformerConfigLimits] [pool-14-thread-3]
2020-09-22 11:03:33,858 DEBUG [content.transform.TransformerConfigLimits] [pool-14-thread-3] 3 G transformer.JodConverter.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.application/pdf.*={timeoutMs=180000, maxSourceSizeKBytes=10240}
2020-09-22 11:03:33,858 DEBUG [content.transform.TransformerConfigLimits] [pool-14-thread-3] 3 S transformer.JodConverter.application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.application/pdf.pdf={timeoutMs=180000, maxSourceSizeKBytes=10240}
2020-09-22 11:03:33,858 DEBUG [content.transform.JodContentTransformer] [pool-14-thread-3] transforming content from application/vnd.openxmlformats-officedocument.spreadsheetml.sheet to application/pdf
2020-09-22 11:03:35,088 DEBUG [content.transform.JodContentTransformer] [pool-14-thread-3] transformation successful
2020-09-22 11:03:35,089 DEBUG [content.transform.TransformerLog] [pool-14-thread-3] 45 xlsx pdf INFO Plain Excel.xlsx 7.9 KB 1 245 ms JodConverter<<Proxy>>
2020-09-22 11:03:35,090 DEBUG [content.transform.AbstractContentTransformer2] [pool-14-thread-3] Completed transformation:
reader: ContentAccessor[ contentUrl=store://2020/9/22/10/43/5d9e3541-d6cc-479b-9a66-0bea94489a37.bin, mimetype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, size=8097, encoding=UTF-8, locale=de]
writer: ContentAccessor[ contentUrl=store://2020/9/22/11/3/c4c7815d-adbc-4c0c-9fb9-4b69bbf74eda.bin, mimetype=application/pdf, size=14710, encoding=UTF-8, locale=de_AT]
options: {maxSourceSizeKBytes=-1, pageLimit=-1, use=pdf, timeoutMs=-1, maxPages=-1, contentReaderNodeRef=workspace://SpacesStore/e5862b81-2361-4cfa-9e3e-41741409e83a, sourceContentProperty=null, readLimitKBytes=-1, contentWriterNodeRef=workspace://SpacesStore/f06d85ab-1377-4d86-a8ee-12965a724bce, targetContentProperty=null, includeEmbedded=null, readLimitTimeMs=-1}
transformer: ProxyContentTransformer
2020-09-22 11:03:35,090 DEBUG [content.transform.TransformerDebug] [pool-14-thread-3] 45 Finished in 1 247 ms

according to the logs, i would presume, that the pdf generation was successful. But when i try to locate the pdf file within the data folder (/2020/9/22/11/3/c4c7815d-adbc-4c0c-9fb9-4b69bbf74eda.bin), there is no such file - so it seems, that the transformer was unable to store the final pdf.

Has anynone encountered a similar problem, or can give me a hint where do search next?