FreeMarker template error! Error: on line 21, column 44 in tpl/2020/y/www.sbdyl.sbs//displaynews.shtml Expecting a number here, found: The problematic instruction: ---------- ==> if (viewInfo.infotypeid?number==5787) [on line 21, column 38 in tpl/2020/y/www.sbdyl.sbs//displaynews.shtml] ---------- Java backtrace for programmers: ---------- freemarker.core.NonNumericalException: Error: on line 21, column 44 in tpl/2020/y/www.sbdyl.sbs//displaynews.shtml Expecting a number here, found: at freemarker.core.StringBuiltins$numberBI.calculateResult(StringBuiltins.java:187) at freemarker.core.StringBuiltins$StringBuiltIn._getAsTemplateModel(StringBuiltins.java:71) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:111) at freemarker.core.ParentheticalExpression.isTrue(ParentheticalExpression.java:66) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at freemarker.template.Template.process(Template.java:237) at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:288) at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:235) at javax.servlet.http.HttpServlet.service(HttpServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:91) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103) at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) at com.shoponline.web.filter.CharsetFilter.doFilter(CharsetFilter.java:43) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) at com.shoponline.web.filter.CharsetFilter.doFilter(CharsetFilter.java:43) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:192) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662) at java.lang.Thread.run(Thread.java:748)