总局网站 本站首页 办税服务 信息公开 税收宣传 公众参与
您是第******位访问者,当前在线人数******
您现在正在浏览:首页 »纳税咨询库 » eae
详细信息
办件标题   eae 
内容   qe
办件分类   意见征集
办件编号   80010 
提交时间   2016-10-25  联系电话    FreeMarker template error: get(phone) failed on instance of com.jeecms.cms.entity.assist.CmsGuestbook. See cause exception. The failing instruction (FTL stack trace): ---------- ==> ${guestbook.phone!?html} [in template "WEB-INF/t/cms/www/red/guestbook/guestbook_detail.html" at line 79, column 62] ---------- Java stack trace (for programmers): ---------- freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...] at freemarker.ext.beans.BeanModel.get(BeanModel.java:222) at freemarker.core.Dot._eval(Dot.java:76) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:116) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.StringBuiltins$StringBuiltIn._eval(StringBuiltins.java:87) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.process(Environment.java:243) at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:115) at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:168) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1048) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:818) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at com.jeecms.common.web.XssFilter.doFilter(XssFilter.java:48) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) 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.doFilter(DelegatingFilterProxy.java:168) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:89) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61) at com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:29) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1499) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor896.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:275) at freemarker.ext.beans.BeanModel.get(BeanModel.java:182) at freemarker.core.Dot._eval(Dot.java:76) at freemarker.core.Expression.eval(Expression.java:111) at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:116) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.StringBuiltins$StringBuiltIn._eval(StringBuiltins.java:87) at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) ... 37 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 3 at java.lang.String.substring(String.java:1934) at java.lang.String.subSequence(String.java:1972) at com.jeecms.cms.entity.assist.base.BaseCmsGuestbookExt.replaceRex(BaseCmsGuestbookExt.java:316) at com.jeecms.cms.entity.assist.base.BaseCmsGuestbookExt.getPhone(BaseCmsGuestbookExt.java:127) at com.jeecms.cms.entity.assist.CmsGuestbook.getPhone(CmsGuestbook.java:168) at sun.reflect.GeneratedMethodAccessor896.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) ... 46 more