cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to view Site Activities on some Site.

Syedjunaid
Confirmed Champ
Confirmed Champ

Hello everyone,

I have deployed Alfresco Community v6.0.a in a production enviornment. Our client has been facing a critical issue on some sites. The problem is that there are no activity logs on some sites. I requested them to send me "alfresco.log" file, so that I could get an idea about what might be the problem. After reviewing the logs I am unable to understand what is the error about and how it can be solved. Did some research on that error but didn't find anything.

Here are the errors occuring in alfresco logs.

"2020-11-02 14:38:48,193 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-14] Exception from executeScript: 10020270 Wrapped Exception (with status template): 100231786 Error during processing of the template 'The following has evaluated to null or missing:
==> result.max [in template "org/alfresco/repository/solr/stats.get.json.ftl" at line 20, column 21]

Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??

The failing instruction (print stack trace for 1 more):
==> ${result.max?c} [in template "org/alfresco/repository/solr/stats.get.json.ftl" at line 20, column 19]'. Please contact your system administrator.
org.springframework.extensions.webscripts.WebScriptException: 10020270 Wrapped Exception (with status template): 100231786 Error during processing of the template 'The following has evaluated to null or missing:
==> result.max [in template "org/alfresco/repository/solr/stats.get.json.ftl" at line 20, column 21]

Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??

The failing instruction (print stack trace for 1 more):
==> ${result.max?c} [in template "org/alfresco/repository/solr/stats.get.json.ftl" at line 20, column 19]'. Please contact your system administrator."

Would be grateful if anyone can explain me what is this error and how can I resolve this problem.

Regards,

Syed Junaid 

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

Please use / update to a proper GA version of Alfresco 6.0 and test with that to see if your issue still applies. In general, using an early access version like 6.0.a in production is not really recommended unless you are willing to support such an installation yourself with low-level fixes or are prepared to upgrade when necessary. The proper release version for 6.0 would be 6.0.7 GA.