撸上我的错误提示信息
Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: com.sun.proxy.$Proxy84 is final
at com.bstek.dorado.data.entity.EntityWrapper.get(EntityWrapper.java:189)
at com.bstek.dorado.data.entity.EntityWrapper.get(EntityWrapper.java:171)
at com.bstek.dorado.view.output.DataOutputter.outputEntityProperty(DataOutputter.java:328)
at com.bstek.dorado.view.output.DataOutputter.outputEntity(DataOutputter.java:302)
at com.bstek.dorado.view.output.DataOutputter.internalOutputData(DataOutputter.java:257)
at com.bstek.dorado.view.output.DataOutputter.outputData(DataOutputter.java:225)
at com.bstek.dorado.view.output.DataOutputter.outputPage(DataOutputter.java:146)
at com.bstek.dorado.view.output.DataOutputter.internalOutputData(DataOutputter.java:255)
at com.bstek.dorado.view.output.DataOutputter.outputData(DataOutputter.java:225)
at com.bstek.dorado.view.output.DataOutputter.output(DataOutputter.java:107)
at com.bstek.dorado.view.service.DataServiceProcessorSupport.outputData(DataServiceProcessorSupport.java:200)
at com.bstek.dorado.view.service.DataServiceProcessorSupport.outputResult(DataServiceProcessorSupport.java:154)
at com.bstek.dorado.view.service.LoadDataServiceProcessor.doExecute(LoadDataServiceProcessor.java:278)
at com.bstek.dorado.view.service.DataServiceProcessorSupport.execute(DataServiceProcessorSupport.java:133)
at com.bstek.dorado.view.resolver.ViewServiceInvoker.invoke(ViewServiceInvoker.java:32)
at com.bstek.dorado.view.resolver.ViewServiceInvoker_$$_javassist_305._d5invoke(ViewServiceInvoker_$$_javassist_305.java)
... 94 more
Caused by: java.lang.RuntimeException: com.sun.proxy.$Proxy84 is final
at javassist.util.proxy.ProxyFactory.checkClassAndSuperName(ProxyFactory.java:748)
at javassist.util.proxy.ProxyFactory.makeSortedMethodList(ProxyFactory.java:772)
at javassist.util.proxy.ProxyFactory.computeSignature(ProxyFactory.java:781)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:392)
at com.bstek.dorado.util.proxy.ProxyBeanUtils.proxyBeanWithJavassist(ProxyBeanUtils.java:341)
at com.bstek.dorado.util.proxy.ProxyBeanUtils.proxyBean(ProxyBeanUtils.java:318)
at com.bstek.dorado.util.proxy.ProxyBeanUtils.proxyBean(ProxyBeanUtils.java:294)
at com.bstek.dorado.data.entity.EntityUtils.toEntity(EntityUtils.java:415)
at com.bstek.dorado.data.entity.EntityEnhancer.interceptReadMethod(EntityEnhancer.java:355)
at com.bstek.dorado.data.entity.DefaultMapEntityInterceptor.interceptReadMethod(DefaultMapEntityInterceptor.java:77)
at com.bstek.dorado.data.entity.DefaultMapEntityInterceptor.interceptor(DefaultMapEntityInterceptor.java:64)
at com.bstek.dorado.data.entity.DefaultMapEntityInterceptor.invoke(DefaultMapEntityInterceptor.java:50)
at com.bstek.dorado.util.proxy.MethodInterceptorDispatcher.invoke(MethodInterceptorDispatcher.java:241)
at org.javassist.tmp.java.util.HashMap_$$_javassist_307.get(HashMap_$$_javassist_307.java)
at com.bstek.dorado.data.entity.DefaultMapEntityInterceptor.internalReadProperty(DefaultMapEntityInterceptor.java:40)
at com.bstek.dorado.data.entity.EntityEnhancer.internalReadProperty(EntityEnhancer.java:308)
at com.bstek.dorado.data.entity.MapEntityEnhancer.readProperty(MapEntityEnhancer.java:59)
at com.bstek.dorado.data.entity.EntityWrapper.get(EntityWrapper.java:182)
目前已经解决了该问题,原因是,我读取数据库中视图文件时有一个是CLOB类型的,最后解决方式是在后台写sql时候加了个to_char的类型转换直接解决完成。
通常出现这种情况有90%的原因是由于前后台数据不统一的原因造成的。