学会组织领导
学会介绍
学术研究
您当前位置: Method public java.lang.String cn.com.harbor.wcb.service.CMSTemplateEngine.currentpos(java.lang.String) threw an exception when invoked on cn.com.harbor.wcb.service.CMSTemplateEngine@1cdb051 The problematic instruction: ---------- ==> ${cms.currentpos("target=_self,separator >>")} [on line 66, column 40 in second-xhgz.html] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String cn.com.harbor.wcb.service.CMSTemplateEngine.currentpos(java.lang.String) threw an exception when invoked on cn.com.harbor.wcb.service.CMSTemplateEngine@1cdb051 at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) 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:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:232) at cn.com.harbor.wcb.service.HTMLGenerator.generateHTML(HTMLGenerator.java:63) at cn.com.harbor.wcb.service.impl.PublishTaskServiceImpl.publishGeneral(PublishTaskServiceImpl.java:452) at sun.reflect.GeneratedMethodAccessor468.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy21.publishGeneral(Unknown Source) at cn.com.harbor.wcb.service.PublishGeneralTask.execute(PublishGeneralTask.java:50) at cn.com.harbor.core.utils.threadpool.thread.WorkThread.run(WorkThread.java:77) Caused by: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(Unknown Source) at cn.com.harbor.wcb.service.CMSTemplateEngine.parseTag(CMSTemplateEngine.java:921) at cn.com.harbor.wcb.service.CMSTemplateEngine.currentpos(CMSTemplateEngine.java:645) at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:880) at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:113) ... 25 more