FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> mChannel.parent [in template "WEB-INF/t/cms/nmgjttzjt/transport/includes/com_nav.html" at line 11, column 18] ---- 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 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: #assign cPath = mChannel.parent.path [in template "WEB-INF/t/cms/nmgjttzjt/transport/includes/com_nav.html" at line 11, column 1] - Reached through: #include "../includes/com_nav.html" [in template "WEB-INF/t/cms/nmgjttzjt/transport/channel/news2.html" at line 16, column 9] ---- 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.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:85) at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:48) at freemarker.core.NonHashException.(NonHashException.java:49) at freemarker.core.Dot._eval(Dot.java:48) at freemarker.core.Expression.eval(Expression.java:83) at freemarker.core.Assignment.accept(Assignment.java:134) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.include(Environment.java:2582) at freemarker.core.Include.accept(Include.java:171) at freemarker.core.Environment.visit(Environment.java:330) at freemarker.core.Environment.visit(Environment.java:336) at freemarker.core.Environment.process(Environment.java:309) at freemarker.template.Template.process(Template.java:384) at com.jcms.content.service.impl.ContentStaticPageServiceImpl.createChannelPage(ContentStaticPageServiceImpl.java:902) at com.jcms.content.service.impl.ContentStaticPageServiceImpl$$FastClassBySpringCGLIB$$8d0b0d9d.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at com.jcms.content.service.impl.ContentStaticPageServiceImpl$$EnhancerBySpringCGLIB$$e347d111.createChannelPage() at com.jcms.content.service.impl.ChannelPageCreateThreadServiceImpl.doRunChannelCreate(ChannelPageCreateThreadServiceImpl.java:186) at com.jcms.content.service.impl.ChannelPageCreateThreadServiceImpl.run(ChannelPageCreateThreadServiceImpl.java:159) at com.jcms.content.service.impl.ChannelPageCreateThreadServiceImpl$$FastClassBySpringCGLIB$$ba4d6bdb.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688) at com.jcms.content.service.impl.ChannelPageCreateThreadServiceImpl$$EnhancerBySpringCGLIB$$a024c28b.run() at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748)