河北饶阳:翰墨铸情迎盛会 精彩书画庆“双节”
(/FreeMarker template error:
在如下代码附近发生错误:
在模板:[template "018510637"]的[35]行[111]列, 代码:${lines?size} 附近
错误原因:For "?size" left-hand operand: Expected an extended-hash or sequence, but this evaluated to a string (wrapper: cn.com.enorth.cms.freem
The failing instruction (FTL stack trace):
----------
==> 在模板:[template "018510637"]的[35]行[111]列, 代码:${lines?size} 附近
----------
Java stack trace (for programmers):
----------
cn.com.enorth.cms.freemarker.core.UnexpectedTypeException: [... Exception message was already printed; see it above ...]
at cn.com.enorth.cms.freemarker.core.MiscellaneousBuiltins$sizeBI._eval(MiscellaneousBuiltins.java:52)
at cn.com.enorth.cms.freemarker.core.Expression.eval(Expression.java:111)
at cn.com.enorth.cms.freemarker.core.Expression.evalAndCoerceToString(Expression.java:115)
at cn.com.enorth.cms.freemarker.core.DollarVariable.accept(DollarVariable.java:77)
at cn.com.enorth.cms.freemarker.core.Environment.visit(Environment.java:270)
at cn.com.enorth.cms.freemarker.core.MixedContent.accept(MixedContent.java:94)
at cn.com.enorth.cms.freemarker.core.Environment.visit(Environment.java:270)
at cn.com.enorth.cms.freemarker.core.Environment.process(Environment.java:248)
at cn.com.enorth.cms.service.publisher.FileParser.parseContent(FileParser.java:218)
at cn.com.enorth.cms.service.publisher.FileParser.parseByPageConext(FileParser.java:112)
at cn.com.enorth.cms.service.publisher.FileParser.parseOnePage(FileParser.java:606)
at cn.com.enorth.cms.service.publisher.FileParser.parseFile(FileParser.java:320)
at cn.com.enorth.cms.service.publisher.FileParserHelper.parseFileByContext(FileParserHelper.java:42)
at cn.com.enorth.cms.service.publisher.FileParserHelper.parseFileByFileId(FileParserHelper.java:161)
at cn.com.enorth.cms.service.publisher.FileParserHelper.parseFileByFileId(FileParserHelper.java:83)
at cn.com.enorth.cms.service.news.rw.impl.NewsRecreateProcessor.process(NewsRecreateProcessor.java:27)
at cn.com.enorth.cms.service.news.rw.impl.AbstraceNewsWriter.runProcessorNoTran(AbstraceNewsWriter.java:84)
at cn.com.enorth.cms.service.news.rw.impl.AbstraceNewsWriter.save(AbstraceNewsWriter.java:159)
at cn.com.enorth.cms.service.news.impl.NewsHelperImpl.saveNews(NewsHelperImpl.java:113)
at cn.com.enorth.cms.action.news.NewsAttPhotoAction.editNews(NewsAttPhotoAction.java:662)
at cn.com.enorth.cms.action.news.NewsAttPhotoAction.doCheck(NewsAttPhotoAction.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at cn.com.enorth.utility.app.web.strutsx.impl.service.filter.StrutsXFilter.doFilter(StrutsXFilter.java:271)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at cn.com.enorth.utility.app.filter.priv.impl.filter.AbstractPrivFilter.doFilter(AbstractPrivFilter.java:296)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at cn.com.enorth.utility.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:722)
null