06-27-2022 04:35 AM
Hello
In the logs I have huge amount of such errors:
DEBUG Unable to create thumbnail 'doclib' for image/vnd.dwg as no transformer is currently available.
ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-21] Exception from executeScript: 05220146 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
org.springframework.extensions.webscripts.WebScriptException: 05220146 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js
at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:176)
...
It seems like method isThumbnailDefinitionAvailable() returns false so createThumbnail() returns null so StreamContent.java throws an error.
But why doclib thubmnail renderer is unavailable? How can I prevent that and stop this error poping up?
I noticed this error pops up only sometimes (huge server overload?) and in huge amounts (around 150 times in 1sec)
I'm using Alfresco Community 7.2 with ATS connected to ActiveMQ.
Generally, transforms are working fine.
07-02-2022 09:59 AM
You can disable thumbnail generation in alfresco 7.x versions.
system.thumbnail.generate=false
Just add the above property in alfresco-global.properties and then restart the server.
07-06-2022 04:56 AM
Thank you @mitpatoliya but that is an extreme solution. I would like to still have thumbnails especially because in 99% cases they are working.
Explore our Alfresco products with the links below. Use labels to filter content by product module.