Description:
Contains all status information of the current map, such as the center, scale, bounds, etc.
Center:
( FreeMarker template error (DEBUG mode; use RETHROW in production!):
For "." left-hand operand: Expected a hash, but this has evaluated to a boolean (wrapper: f.t.FalseTemplateBooleanModel):
==> resource.content [in template "map.ftl" at line 26, column 125]
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${resource.content.center.x} [in template "map.ftl" at line 26, column 123]
----
Java stack trace (for programmers):
----
freemarker.core.NonHashException: [... Exception message was already printed; see it above ...]
at freemarker.core.Dot._eval(Dot.java:48)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Dot._eval(Dot.java:41)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.process(Environment.java:326)
at freemarker.template.Template.process(Template.java:383)
at org.restlet.ext.freemarker.TemplateRepresentation.write(TemplateRepresentation.java:315)
at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:67)
at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509)
at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453)
at org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:421)
at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:191)
at org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:196)
at com.supermap.services.rest.RestServlet$AdapterProxy.service(SourceFile:283)
at com.supermap.services.rest.RestServlet.service(SourceFile:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at com.supermap.server.impl.DefaultServiceInstance.service(SourceFile:254)
at com.supermap.server.api.ServiceInstance.service(SourceFile:89)
at com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(SourceFile:81)
at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:66)
at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:27)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handleRequestByCacheResponse(SourceFile:568)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(SourceFile:423)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:207)
at com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:239)
at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:224)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:209)
at com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:308)
at com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:258)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at com.supermap.services.filter.TunnelFilter.doFilter(SourceFile:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:331)
at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:383)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:936)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Unknown Source)
SuperMap iServer REST API