extent-framework / klov

Report server for ExtentReports
http://klov.herokuapp.com
38 stars 31 forks source link

Builds>Sort by fail(or any other search)>Empty list is displayed #58

Closed Abur73 closed 4 years ago

Abur73 commented 4 years ago

One is trying to filter out the failed items (or any other default tag) or Search, and an empty list is present instead. Using klov-server: 0.2.9

Server Logs: $ 2020-05-22 18:11:34.959 ERROR 10926 --- [nio-8080-exec-5] freemarker.runtime : Error executing FreeMarker template

freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> morePages [in template "build.ftl" at line 86, column 46]


Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??


FTL stack trace ("~" means nesting-related):

2020-05-22 18:11:34.961 ERROR 10926 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> morePages [in template "build.ftl" at line 86, column 46]


Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??


FTL stack trace ("~" means nesting-related):

freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> morePages [in template "build.ftl" at line 86, column 46]


Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??


FTL stack trace ("~" means nesting-related):