交易会员

南方林业产权交易所 > 会员专区 > 交易会员

FreeMarker template error!


Expression user is undefined on line 42, column 23 in WEB-INF/user_base/jeecms_com_www/template/article/jxforestry/channel_member_show.html.
The problematic instruction:
----------
==> ${user.userName} [on line 42, column 21 in WEB-INF/user_base/jeecms_com_www/template/article/jxforestry/channel_member_show.html]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression user is undefined on line 42, column 23 in WEB-INF/user_base/jeecms_com_www/template/article/jxforestry/channel_member_show.html.
	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
	at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
	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:209)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:209)
	at freemarker.core.IfBlock.accept(IfBlock.java:82)
	at freemarker.core.Environment.visit(Environment.java:209)
	at freemarker.core.MixedContent.accept(MixedContent.java:92)
	at freemarker.core.Environment.visit(Environment.java:209)
	at freemarker.core.Environment.process(Environment.java:189)
	at freemarker.template.Template.process(Template.java:237)
	at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:187)
	at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
	at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
	at com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:222)
	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
	at com.hundsun.hscms.common.struts2.interceptor.UrlInterceptor.doIntercept(UrlInterceptor.java:76)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at com.hundsun.hscms.silvermoon.core.web.CookieIdentityInterceptor.doIntercept(CookieIdentityInterceptor.java:59)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at com.hundsun.hscms.common.struts2.interceptor.DomainNameInterceptor.doIntercept(DomainNameInterceptor.java:24)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
	at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:532)
	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
	at com.tongweb.web.core.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:267)
	at com.tongweb.web.core.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:235)
	at com.tongweb.web.core.core.StandardWrapperValve.invoke(StandardWrapperValve.java:324)
	at com.tongweb.web.core.core.StandardContextValve.invokeInternal(StandardContextValve.java:275)
	at com.tongweb.web.core.core.StandardContextValve.invoke(StandardContextValve.java:206)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
	at com.tongweb.web.WebPipeline.invoke(WebPipeline.java:96)
	at com.tongweb.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:99)
	at com.tongweb.web.core.core.StandardHostValve.invoke(StandardHostValve.java:220)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
	at com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588)
	at com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1104)
	at com.tongweb.web.core.core.StandardEngineValve.invoke(StandardEngineValve.java:167)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649)
	at com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594)
	at com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588)
	at com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1104)
	at com.tongweb.web.oro.wrap.CoyoteAdapter.service(CoyoteAdapter.java:289)
	at com.tongweb.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:650)
	at com.tongweb.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:582)
	at com.tongweb.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:834)
	at com.tongweb.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
	at com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
	at com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
	at com.tongweb.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
	at com.tongweb.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)

An unexpected error has occurred

Please report this error to your system administrator or appropriate technical support personnel. Thank you for your cooperation.


Error Message

freemarker.core.InvalidReferenceException: Expression user is undefined on line 42, column 23 in WEB-INF/user_base/jeecms_com_www/template/article/jxforestry/channel_member_show.html.
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) freemarker.core.Dot._getAsTemplateModel(Dot.java:78) freemarker.core.Expression.getAsTemplateModel(Expression.java:89) freemarker.core.Expression.getStringValue(Expression.java:93) freemarker.core.DollarVariable.accept(DollarVariable.java:76) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.IfBlock.accept(IfBlock.java:82) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.Environment.process(Environment.java:189) freemarker.template.Template.process(Template.java:237) org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:187) org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265) com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) com.opensymphony.xwork2.ActionChainResult.execute(ActionChainResult.java:222) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:361) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265) com.hundsun.hscms.common.struts2.interceptor.UrlInterceptor.doIntercept(UrlInterceptor.java:76) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) com.hundsun.hscms.silvermoon.core.web.CookieIdentityInterceptor.doIntercept(CookieIdentityInterceptor.java:59) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) com.hundsun.hscms.common.struts2.interceptor.DomainNameInterceptor.doIntercept(DomainNameInterceptor.java:24) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:532) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395) com.tongweb.web.core.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:267) com.tongweb.web.core.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:235) com.tongweb.web.core.core.StandardWrapperValve.invoke(StandardWrapperValve.java:324) com.tongweb.web.core.core.StandardContextValve.invokeInternal(StandardContextValve.java:275) com.tongweb.web.core.core.StandardContextValve.invoke(StandardContextValve.java:206) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594) com.tongweb.web.WebPipeline.invoke(WebPipeline.java:96) com.tongweb.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:99) com.tongweb.web.core.core.StandardHostValve.invoke(StandardHostValve.java:220) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594) com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588) com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1104) com.tongweb.web.core.core.StandardEngineValve.invoke(StandardEngineValve.java:167) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:649) com.tongweb.web.core.core.StandardPipeline.doInvoke(StandardPipeline.java:594) com.tongweb.web.core.core.StandardPipeline.invoke(StandardPipeline.java:588) com.tongweb.web.core.core.ContainerBase.invoke(ContainerBase.java:1104) com.tongweb.web.oro.wrap.CoyoteAdapter.service(CoyoteAdapter.java:289) com.tongweb.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:650) com.tongweb.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:582) com.tongweb.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:834) com.tongweb.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) com.tongweb.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) com.tongweb.web.connector.grizzly.TaskBase.run(TaskBase.java:265) com.tongweb.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)


Technical Details