freemarker.core.InvalidReferenceException

Expression user is undefined on line 30, column 39 in setting.ftl.

Solutions on the web493

  • via GitHub by vwilliam
    , 10 months ago
    Expression user is undefined on line 30, column 39 in setting.ftl.
  • via Coderanch by Migrated From Jforum.net, 6 months ago
    Expression session is undefined on line 56, column 30 in default/forum_base.htm.
  • via Coderanch by Migrated From Jforum.net, 6 months ago
    Expression posts is undefined on line 212, column 30 in default/post_form.htm.
  • Stack trace

    • freemarker.core.InvalidReferenceException: Expression user is undefined on line 30, column 39 in setting.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.process(Environment.java:199) at freemarker.template.Template.process(Template.java:259) at spark.template.freemarker.FreeMarkerEngine.render(FreeMarkerEngine.java:70) at spark.TemplateViewRouteImpl$1.render(TemplateViewRouteImpl.java:61) at spark.TemplateViewRouteImpl$1.render(TemplateViewRouteImpl.java:58) at spark.TemplateViewRouteImpl.render(TemplateViewRouteImpl.java:85) at spark.webserver.MatcherFilter.doFilter(MatcherFilter.java:164) at spark.servlet.SparkFilter.doFilter(SparkFilter.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    485 times, 9 months ago
    Once, 10 months ago
    3 times, 11 months ago
    Unknown user
    Once, 11 months ago
    2 times, 11 months ago
    10 more bugmates