• FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)
    
    Java method "String.substring(int, int)" threw an exception when invoked on String object "外交部钓鱼台宾馆管理局 2019年招聘应届大学毕业生公告"; see cause exception in the Java stack trace.
    
    ----
    FTL stack trace ("~" means nesting-related):
    	- Failed at: ${con.title.substring(0, 100)}  [in template "template/bnu/content/channel_wenxin.html" at line 56, column 35]
    ----
    
    Java stack trace (for programmers):
    ----
    freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...]
    	at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
    	at freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
    	at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
    	at freemarker.core.MethodCall._eval(MethodCall.java:62)
    	at freemarker.core.Expression.eval(Expression.java:78)
    	at freemarker.core.Expression.evalAndCoerceToString(Expression.java:82)
    	at freemarker.core.DollarVariable.accept(DollarVariable.java:40)
    	at freemarker.core.Environment.visit(Environment.java:312)
    	at freemarker.core.MixedContent.accept(MixedContent.java:62)
    	at freemarker.core.Environment.visitByHiddingParent(Environment.java:333)
    	at freemarker.core.Environment.visitAndTransform(Environment.java:413)
    	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:108)
    	at freemarker.core.Environment.visit(Environment.java:312)
    	at freemarker.core.MixedContent.accept(MixedContent.java:62)
    	at freemarker.core.Environment.visitByHiddingParent(Environment.java:333)
    	at freemarker.core.Environment.visitAndTransform(Environment.java:413)
    	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:108)
    	at freemarker.core.Environment.visit(Environment.java:312)
    	at freemarker.core.MixedContent.accept(MixedContent.java:62)
    	at freemarker.core.Environment.visitByHiddingParent(Environment.java:333)
    	at freemarker.core.Environment.visitAndTransform(Environment.java:413)
    	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:108)
    	at freemarker.core.Environment.visit(Environment.java:312)
    	at freemarker.core.MixedContent.accept(MixedContent.java:62)
    	at freemarker.core.Environment.visit(Environment.java:312)
    	at freemarker.core.Environment.process(Environment.java:290)
    	at freemarker.template.Template.process(Template.java:312)
    	at org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:223)
    	at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:191)
    	at org.apache.struts2.rest.RestActionInvocation.executeResult(RestActionInvocation.java:240)
    	at org.apache.struts2.rest.RestActionInvocation.processResult(RestActionInvocation.java:197)
    	at org.apache.struts2.rest.RestActionInvocation.invoke(RestActionInvocation.java:145)
    	at com.opensymphony.xwork2.DefaultActionProxy.execute(DefaultActionProxy.java:147)
    	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:575)
    	at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)
    	at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    	at com.navercorp.lucy.security.xss.servletfilter.XssEscapeServletFilter.doFilter(XssEscapeServletFilter.java:36)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    	at cn.rzcx.mobicms.framework.filter.DebugFilter.doFilter(DebugFilter.java:150)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
    	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    	at java.lang.Thread.run(Thread.java:744)
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 100
    	at java.lang.String.substring(String.java:1907)
    	at sun.reflect.GeneratedMethodAccessor387.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:606)
    	at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1458)
    	at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:52)
    	at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:48)
    	at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:62)
    	... 56 more