Error - The content node was not specified so the content cannot be streamed to the client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Alfresco Developer
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Alfresco Developer
