freemarker template error (debug mode; use rethrow in production!):
the following has evaluated to null or missing:
==> c.admheadship [in template "web-inf/t/cms/www/xatrm/techexpert/detail.html" at line 174, column 47]
----
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: ${c.admheadship} [in template "web-inf/t/cms/www/xatrm/techexpert/detail.html" at line 174, column 45]
----
java stack trace (for programmers):
----
freemarker.core.invalidreferenceexception: [... exception message was already printed; see it above ...]
at freemarker.core.invalidreferenceexception.getinstance(invalidreferenceexception.java:134)
at freemarker.core.evalutil.coercemodeltotextualcommon(evalutil.java:451)
at freemarker.core.evalutil.coercemodeltostringormarkup(evalutil.java:374)
at freemarker.core.dollarvariable.calculateinterpolatedstringormarkup(dollarvariable.java:96)
at freemarker.core.dollarvariable.accept(dollarvariable.java:59)
at freemarker.core.environment.visit(environment.java:362)
at freemarker.core.iteratorblock$iterationcontext.executenestedcontent(iteratorblock.java:263)
at freemarker.core.iteratorblock$iterationcontext.accept(iteratorblock.java:200)
at freemarker.core.environment.visititeratorblock(environment.java:595)
at freemarker.core.iteratorblock.acceptwithresult(iteratorblock.java:81)
at freemarker.core.iteratorblock.accept(iteratorblock.java:67)
at freemarker.core.environment.visit(environment.java:326)
at freemarker.core.environment.visit(environment.java:332)
at freemarker.core.environment.process(environment.java:305)
at freemarker.template.template.process(template.java:384)
at com.xatrm.common.web.springmvc.simplefreemarkerview.rendermergedtemplatemodel(simplefreemarkerview.java:114)
at org.springframework.web.servlet.view.abstracttemplateview.rendermergedoutputmodel(abstracttemplateview.java:167)
at org.springframework.web.servlet.view.abstractview.render(abstractview.java:303)
at org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1257)
at org.springframework.web.servlet.dispatcherservlet.processdispatchresult(dispatcherservlet.java:1037)
at org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:980)
at org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:897)
at org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:970)
at org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:861)
at javax.servlet.http.httpservlet.service(httpservlet.java:622)
at org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:846)
at javax.servlet.http.httpservlet.service(httpservlet.java:729)
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.jasig.cas.client.session.singlesignoutfilter.dofilter(singlesignoutfilter.java:76)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at ci.filter.sqlinjectfilter.dofilter(sqlinjectfilter.java:157)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at ci.filter.xssfilter.dofilter(xssfilter.java:96)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at ci.filter.securityfilter.dofilter(securityfilter.java:25)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at com.xatrm.common.web.xssfilter.dofilter(xssfilter.java:40)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at org.apache.shiro.web.servlet.abstractshirofilter.executechain(abstractshirofilter.java:449)
at org.apache.shiro.web.servlet.abstractshirofilter$1.call(abstractshirofilter.java:365)
at org.apache.shiro.subject.support.subjectcallable.docall(subjectcallable.java:90)
at org.apache.shiro.subject.support.subjectcallable.call(subjectcallable.java:83)
at org.apache.shiro.subject.support.delegatingsubject.execute(delegatingsubject.java:383)
at org.apache.shiro.web.servlet.abstractshirofilter.dofilterinternal(abstractshirofilter.java:362)
at org.apache.shiro.web.servlet.onceperrequestfilter.dofilter(onceperrequestfilter.java:125)
at org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:346)
at org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:262)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at org.springframework.orm.hibernate4.support.opensessioninviewfilter.dofilterinternal(opensessioninviewfilter.java:151)
at org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:197)
at org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165)
at com.xatrm.common.web.processtimefilter.dofilter(processtimefilter.java:35)
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:108)
at org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:472)
at org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:140)
at org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79)
at org.apache.catalina.valves.abstractaccesslogvalve.invoke(abstractaccesslogvalve.java:620)
at org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:87)
at org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:349)
at org.apache.coyote.http11.http11processor.service(http11processor.java:783)
at org.apache.coyote.abstractprocessorlight.process(abstractprocessorlight.java:66)
at org.apache.coyote.abstractprotocol$connectionhandler.process(abstractprotocol.java:789)
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: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)