请留言:(客服24小时内回复)

    FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)
    
    The following has evaluated to null or missing:
    ==> Session.user  [in template "reply.ftl" at line 117, column 38]
    
    ----
    Tip: It's the step after the last dot that caused this error, not those before it.
    ----
    Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
    ----
    
    ----
    FTL stack trace ("~" means nesting-related):
    	- Failed at: ${Session.user.enterpriseName?default...  [in template "reply.ftl" at line 117, column 36]
    ----
    
    Java stack trace (for programmers):
    ----
    freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
    	at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:131)
    	at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:77)
    	at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:40)
    	at freemarker.core.NonHashException.<init>(NonHashException.java:46)
    	at freemarker.core.Dot._eval(Dot.java:45)
    	at freemarker.core.Expression.eval(Expression.java:78)
    	at freemarker.core.ExistenceBuiltins$ExistenceBuiltIn.evalMaybeNonexistentTarget(ExistenceBuiltins.java:49)
    	at freemarker.core.ExistenceBuiltins$defaultBI._eval(ExistenceBuiltins.java:59)
    	at freemarker.core.Expression.eval(Expression.java:78)
    	at freemarker.core.MethodCall._eval(MethodCall.java:55)
    	at freemarker.core.Expression.eval(Expression.java:78)
    	at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82)
    	at freemarker.core.DollarVariable.accept(DollarVariable.java:41)
    	at freemarker.core.Environment.visit(Environment.java:324)
    	at freemarker.core.MixedContent.accept(MixedContent.java:54)
    	at freemarker.core.Environment.visit(Environment.java:324)
    	at freemarker.core.Environment.process(Environment.java:302)
    	at freemarker.template.Template.process(Template.java:325)
    	at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:725)
    	at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:642)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:467)
    	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:392)
    	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
    	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
    	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
    	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
    	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
    	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    	at com.yh.filter.AuthFilter.doFilter(AuthFilter.java:99)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
    	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
    	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
    	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
    	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
    	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
    	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    	at java.lang.Thread.run(Thread.java:748)