this also occured when i updated yesterday. any ideas ?? the page is actually displaying the error
Error on line 33, column 24 in macros/pagination.ftl
Expression 2 .. totalPostPages is not numerical
The problematic instruction:
----------
==> list totalPostPages - 2 .. totalPostPages as page [on line 33, column 17 in macros/pagination.ftl]
in user-directive pagination.littlePostPagination [on line 194, column 65 in default/forum_show.htm]
----------
Java backtrace for programmers:
----------
freemarker.core.NonNumericalException: Error on line 33, column 24 in macros/pagination.ftl
Expression 2 .. totalPostPages is not numerical
at freemarker.core.ArithmeticExpression._getAsTemplateModel(ArithmeticExpression.java:96)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:87)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Macro$Context.runMacro(Macro.java:164)
at freemarker.core.Environment.visit(Environment.java:470)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
at freemarker.core.Environment.visit(Environment.java:284)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Environment.process(Environment.java:156)
at freemarker.template.Template.process(Template.java:219)
at net.jforum.JForum.service(JForum.java:198)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
<!-- BEGIN ERROR STACK TRACE
<br />
<br /> Error on line 33, column 24 in macros/pagination.ftl
<br /> Expression 2 .. totalPostPages is not numerical
<br /> The problematic instruction:
<br /> ----------
<br /> == list totalPostPages - 2 .. totalPostPages as page [on line 33, column 17 in macros/pagination.ftl]
<br /> in user-directive pagination.littlePostPagination [on line 194, column 65 in default/forum_show.htm]
<br /> ----------
<br />
<br /> Java backtrace for programmers:
<br /> ----------
<br /> freemarker.core.NonNumericalException: Error on line 33, column 24 in macros/pagination.ftl
<br /> Expression 2 .. totalPostPages is not numerical
<br /> at freemarker.core.ArithmeticExpression._getAsTemplateModel(ArithmeticExpression.java:96)
<br /> at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
<br /> at freemarker.core.IteratorBlock.accept(IteratorBlock.java:87)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.MixedContent.accept(MixedContent.java:92)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.MixedContent.accept(MixedContent.java:92)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.Macro$Context.runMacro(Macro.java:164)
<br /> at freemarker.core.Environment.visit(Environment.java:470)
<br /> at freemarker.core.UnifiedCall.accept(UnifiedCall.java:128)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.MixedContent.accept(MixedContent.java:92)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.MixedContent.accept(MixedContent.java:92)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
<br /> at freemarker.core.Environment.visit(Environment.java:284)
<br /> at freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.MixedContent.accept(MixedContent.java:92)
<br /> at freemarker.core.Environment.visit(Environment.java:171)
<br /> at freemarker.core.Environment.process(Environment.java:156)
<br /> at freemarker.template.Template.process(Template.java:219)
<br /> at net.jforum.JForum.service(JForum.java:198)
<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
<br /> at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
<br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
<br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
<br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
<br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
<br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
<br /> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
<br /> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
<br /> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
<br /> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
<br /> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
<br /> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
<br /> at java.lang.Thread.run(Unknown Source)
<br />
<br /> END ERROR STACK TRACE-->
[originally posted on jforum.net by TheOne]