金融知識
金融知識 /
上一頁
1
下一頁
共1頁,到第頁
熱門評論
?
FreeMarker template error:
get(userName) failed on instance of com.ieccms.cms.entity.main.CmsAuthUser_$$_jvst840_75. See cause exception.
The failing instruction (FTL stack trace):
----------
==> ${(c.commentUser.userName)!"匿名網(wǎng)友"} [in template "WEB-INF/t/cms/www/public/channel/information_finance_news.html" at line 89, column 39]
@cms_comment_list count="3" siteId=si... [in template "WEB-INF/t/cms/www/public/channel/information_finance_news.html" at line 86, column 6]
----------
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.ParentheticalExpression._eval(ParentheticalExpression.java:80)
at freemarker.core.Expression.eval(Expression.java:111)
at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:109)
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.visitByHiddingParent(Environment.java:286)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:193)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:509)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:103)
at freemarker.core.Environment.visit(Environment.java:265)
at freemarker.core.MixedContent.accept(MixedContent.java:93)
at freemarker.core.Environment.visit(Environment.java:265)
at freemarker.core.Environment$1.render(Environment.java:313)
at com.ieccms.cms.action.directive.CmsCommentListDirective.execute(CmsCommentListDirective.java:74)
at freemarker.core.Environment.visit(Environment.java:341)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
at freemarker.core.Environment.visit(Environment.java:265)
at freemarker.core.MixedContent.accept(MixedContent.java:93)
at freemarker.core.Environment.visit(Environment.java:265)
at freemarker.core.Environment.process(Environment.java:243)
at freemarker.template.Template.process(Template.java:277)
at com.ieccms.cms.staticpage.StaticPageDaoImpl.channelStatic(StaticPageDaoImpl.java:132)
at com.ieccms.cms.staticpage.StaticPageSvcImpl.channel(StaticPageSvcImpl.java:105)
at com.ieccms.cms.staticpage.StaticPageSvcImpl$$FastClassBySpringCGLIB$$48520056.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:633)
at com.ieccms.cms.staticpage.StaticPageSvcImpl$$EnhancerBySpringCGLIB$$84b90e83.channel()
at com.ieccms.cms.task.job.ChannelStaticTask.schedule(ChannelStaticTask.java:43)
at com.scrcu.ebank.cportal.core.schedule.AbsJobScheduler.execute(AbsJobScheduler.java:16)
at com.ieccms.cms.task.job.ChannelStaticJob.executeInternal(ChannelStaticJob.java:28)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor5318.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)
... 44 more
Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.ieccms.cms.entity.main.CmsAuthUser#URE00000022863]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435)
at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:189)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:182)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:215)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at com.ieccms.cms.entity.main.CmsAuthUser_$$_jvst840_75.getUserName(CmsAuthUser_$$_jvst840_75.java)
... 50 more