平台配置备份失败

QQ图片20210513142006.png

模板、jar包、插件都可以备份,就平台配置备份时出错

java.lang.RuntimeException: com.fr.third.org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.lang.String com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity.senderId] by reflection for persistent property [com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity#senderId] : com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity@2f4916a1

at com.fr.decision.backup.receiver.DBReceiver.receive(Unknown Source)

at com.fr.decision.backup.BackUpContext.backUp(Unknown Source)

at com.fr.decision.webservice.v10.backup.module.BaseModuleBackup.backupDB(Unknown Source)

at com.fr.decision.webservice.v10.backup.module.ConfigBackup.manualBackup(Unknown Source)

at com.fr.decision.webservice.v10.backup.BackupService.manualBackup(Unknown Source)

at com.fr.web.controller.decision.api.backup.BackupResource.manualBackup(Unknown Source)

at com.fr.web.controller.decision.api.backup.BackupResource$$FastClassBySpringCGLIB$$8adf0979.invoke(<generated>)

at com.fr.third.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:201)

at com.fr.third.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:710)

at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

at com.fr.third.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)

at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

at com.fr.third.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646)

at com.fr.web.controller.decision.api.backup.BackupResource$$EnhancerBySpringCGLIB$$dc37b3db.manualBackup(<generated>)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)

at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747)

at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676)

at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)

at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

at com.fr.third.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)

at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(Unknown Source)

at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.decision.base.DecisionServletInitializer$4.doFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)

at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)

Caused by: com.fr.third.org.hibernate.property.access.spi.PropertyAccessException: Error accessing field [private java.lang.String com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity.senderId] by reflection for persistent property [com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity#senderId] : com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity@2f4916a1

at com.fr.third.org.hibernate.property.access.spi.UnsafeGetterFieldImpl.get(UnsafeGetterFieldImpl.java:60)

at com.fr.third.org.hibernate.property.access.spi.UnsafeGetterFieldImpl.getForInsert(UnsafeGetterFieldImpl.java:75)

at com.fr.third.org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValuesToInsert(AbstractEntityTuplizer.java:623)

at com.fr.third.org.hibernate.tuple.entity.PojoEntityTuplizer.getPropertyValuesToInsert(PojoEntityTuplizer.java:226)

at com.fr.third.org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValuesToInsert(AbstractEntityPersister.java:4786)

at com.fr.third.org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:254)

at com.fr.third.org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:182)

at com.fr.third.org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:125)

at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)

at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)

at com.fr.third.org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)

at com.fr.third.org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:777)

at com.fr.third.org.hibernate.internal.SessionImpl.persist(SessionImpl.java:750)

at com.fr.third.org.hibernate.internal.SessionImpl.persist(SessionImpl.java:755)

at com.fr.stable.db.session.SessionManager$DBSessionImpl.persist(Unknown Source)

... 64 more

Caused by: java.lang.IllegalArgumentException: Can not set java.lang.String field com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity.senderId to com.fr.plugin.templatemessage.message.entity.TemplateMessageEntity

at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)

at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)

at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:58)

at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36)

at java.lang.reflect.Field.get(Field.java:393)

at com.fr.third.org.hibernate.property.access.spi.UnsafeGetterFieldImpl.get(UnsafeGetterFieldImpl.java:56)

... 78 more

FineReport ljztpdj 发布于 2021-5-13 14:22
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共3回答
最佳回答
0
snrtuemcLv8专家互助
发布于2021-5-13 14:24
重启下服务器,然后再备份一下
最佳回答
0
zsh331Lv8专家互助
发布于2021-5-13 14:46

备份还原-https://help.fanruan.com/finereport/doc-view-2222.html

————————————

image.png

最佳回答
0
Rose_RubyLv6初级互助
发布于2021-5-13 15:34

select * from fine_conf_entity where id = 'BackupConfig.customValueLength';到外接mysql数据库里 ,查询一下这个sql

  • 用户xt3CE8687127 用户xt3CE8687127 查询这个结果是空,不知道是什么含义
    2021-08-16 17:25 
  • 5关注人数
  • 774浏览人数
  • 最后回答于:2021-5-13 15:34
    请选择关闭问题的原因
    确定 取消
    返回顶部