FreeMarker template error (DEBUG mode; use RETHROW in production!):
Can't convert this string to number: "8,931"
The blamed expression:
==> pageMax?number [in template "comp/pager.ftl" at line 149, column 14]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if pageMax?number gt 1 [in template "comp/pager.ftl" in macro "pager" at line 149, column 9]
- Reached through: @pager page=page pageMax=pageMax pref... [in template "issue.ftl" at line 36, column 17]
~ Reached through: #nested [in template "temp/tmp.ftl" in macro "mainLayout" at line 51, column 9]
~ Reached through: @mainLayout title=title [in template "issue.ftl" at line 1, column 1]
----
Java stack trace (for programmers):
----
freemarker.core.NonNumericalException: [... Exception message was already printed; see it above ...]
at freemarker.core.NonNumericalException.newMalformedNumberException(NonNumericalException.java:70)
at freemarker.core.BuiltInsForStringsMisc$numberBI.calculateResult(BuiltInsForStringsMisc.java:122)
at freemarker.core.BuiltInForString._eval(BuiltInForString.java:29)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.EvalUtil.compare(EvalUtil.java:113)
at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:62)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.Environment.invoke(Environment.java:775)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.Environment.invokeNestedContent(Environment.java:618)
at freemarker.core.BodyInstruction.accept(BodyInstruction.java:60)
at freemarker.core.Environment.visit(Environment.java:366)
at freemarker.core.Environment.invoke(Environment.java:775)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.itocm.page.util.Itocm.getHtml(Itocm.java:41)
at com.itocm.page.ask.IssueFtl.lambda$handler$3(IssueFtl.java:248)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at nt.base.db.PgClientAsync.lambda$query2$1(PgClientAsync.java:60)
at io.reactiverse.pgclient.impl.PgResultBuilder.handle(PgResultBuilder.java:66)
at io.reactiverse.pgclient.impl.PgResultBuilder.handle(PgResultBuilder.java:30)
at io.reactiverse.pgclient.impl.PgPoolImpl$1.lambda$onSuccess$0(PgPoolImpl.java:94)
at io.reactiverse.pgclient.impl.SocketConnection.handleMessage(SocketConnection.java:259)
at io.reactiverse.pgclient.impl.SocketConnection.lambda$initializeCodec$1(SocketConnection.java:109)
at io.vertx.core.streams.impl.InboundBuffer.handleEvent(InboundBuffer.java:230)
at io.vertx.core.streams.impl.InboundBuffer.write(InboundBuffer.java:120)
at io.vertx.core.net.impl.NetSocketImpl.handleMessage(NetSocketImpl.java:371)
at io.vertx.core.net.impl.ConnectionBase.handleRead(ConnectionBase.java:390)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:320)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:188)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:174)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.reactiverse.pgclient.impl.CommandBase.handleReadyForQuery(CommandBase.java:126)
at io.reactiverse.pgclient.impl.codec.decoder.MessageDecoder.decodeReadyForQuery(MessageDecoder.java:247)
at io.reactiverse.pgclient.impl.codec.decoder.MessageDecoder.channelRead(MessageDecoder.java:106)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:648)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:583)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:745)