06-09-2017 09:27 PM
I am following this tutorial to create a folder-listing java-backed webscript.
Creating a Java-backed web script | Alfresco Documentation
I have build maven project from eclipse. It is working(able to load localhost:8080/share)
but, when I run the : http://127.0.0.1:8080/alfresco/service/javadir/Company%20Home/sakshitest
It is displaying the following error:
Message: | 05090000 Wrapped Exception (with status template): 05090002 Error during processing of the template 'The following has evaluated to null or missing: ==> folder [in template "alfresco/tutorials/javadir.get.html.ftl" at line 3, column 19] 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: ==> ${folder} [in template "alfresco/tutorials/javadir.get.html.ftl" at line 3, column 17]'. Please contact your system administrator. |
Server: | Community v5.2.0 (r130508-b9) schema 10,004 |
Help is appreciated!
06-14-2017 02:07 AM
I fixed the problem. It is working fine now
06-03-2022 08:35 AM
Hey, How did you solve this
Explore our Alfresco products with the links below. Use labels to filter content by product module.