jimmyfan 发表于 2019-7-12 09:13:45

Minidao之Bug,java.lang.reflect.UndeclaredThrowableException

本帖最后由 jimmyfan 于 2019-7-25 14:42 编辑

Exception: java.lang.reflect.UndeclaredThrowableException
ClassName: com.sun.proxy.$Proxy133 ; MethodName: insertInternalFile ; LineNumber: -1 ; Message: null
ClassName: com.circle.dcc.init.service.impl.DccInitServiceImpl ; MethodName: updateCircleToDcc ; LineNumber: 210 ; Message: null
ClassName: sun.reflect.NativeMethodAccessorImpl ; MethodName: invoke0 ; LineNumber: -2 ; Message: null
ClassName: sun.reflect.NativeMethodAccessorImpl ; MethodName: invoke ; LineNumber: 57 ; Message: null
ClassName: sun.reflect.DelegatingMethodAccessorImpl ; MethodName: invoke ; LineNumber: 43 ; Message: null
ClassName: java.lang.reflect.Method ; MethodName: invoke ; LineNumber: 606 ; Message: null
ClassName: org.springframework.aop.support.AopUtils ; MethodName: invokeJoinpointUsingReflection ; LineNumber: 317 ; Message: null
ClassName: org.springframework.aop.framework.ReflectiveMethodInvocation ; MethodName: invokeJoinpoint ; LineNumber: 190 ; Message: null
ClassName: org.springframework.aop.framework.ReflectiveMethodInvocation ; MethodName: proceed ; LineNumber: 157 ; Message: null
ClassName: org.springframework.transaction.interceptor.TransactionInterceptor$1 ; MethodName: proceedWithInvocation ; LineNumber: 98 ; Message: null
ClassName: org.springframework.transaction.interceptor.TransactionAspectSupport ; MethodName: invokeWithinTransaction ; LineNumber: 262 ; Message: null
ClassName: org.springframework.transaction.interceptor.TransactionInterceptor ; MethodName: invoke ; LineNumber: 95 ; Message: null
ClassName: org.springframework.aop.framework.ReflectiveMethodInvocation ; MethodName: proceed ; LineNumber: 179 ; Message: null
ClassName: org.springframework.aop.framework.JdkDynamicAopProxy ; MethodName: invoke ; LineNumber: 207 ; Message: null
ClassName: com.sun.proxy.$Proxy269 ; MethodName: updateCircleToDcc ; LineNumber: -1 ; Message: null
ClassName: com.jeecg.dccinternalfile.controller.DccInternalOptController ; MethodName: updatePath ; LineNumber: 307 ; Message: null
ClassName: sun.reflect.NativeMethodAccessorImpl ; MethodName: invoke0 ; LineNumber: -2 ; Message: null
ClassName: sun.reflect.NativeMethodAccessorImpl ; MethodName: invoke ; LineNumber: 57 ; Message: null
ClassName: sun.reflect.DelegatingMethodAccessorImpl ; MethodName: invoke ; LineNumber: 43 ; Message: null
ClassName: java.lang.reflect.Method ; MethodName: invoke ; LineNumber: 606 ; Message: null
ClassName: org.springframework.web.method.support.InvocableHandlerMethod ; MethodName: doInvoke ; LineNumber: 221 ; Message: null
ClassName: org.springframework.web.method.support.InvocableHandlerMethod ; MethodName: invokeForRequest ; LineNumber: 137 ; Message: null
ClassName: org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod ; MethodName: invokeAndHandle ; LineNumber: 104 ; Message: null
ClassName: org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter ; MethodName: invokeHandleMethod ; LineNumber: 747 ; Message: null
ClassName: org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter ; MethodName: handleInternal ; LineNumber: 676 ; Message: null
ClassName: org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter ; MethodName: handle ; LineNumber: 85 ; Message: null
ClassName: org.springframework.web.servlet.DispatcherServlet ; MethodName: doDispatch ; LineNumber: 938 ; Message: null
ClassName: org.springframework.web.servlet.DispatcherServlet ; MethodName: doService ; LineNumber: 870 ; Message: null
ClassName: org.springframework.web.servlet.FrameworkServlet ; MethodName: processRequest ; LineNumber: 961 ; Message: null
ClassName: org.springframework.web.servlet.FrameworkServlet ; MethodName: doGet ; LineNumber: 852 ; Message: null
ClassName: javax.servlet.http.HttpServlet ; MethodName: service ; LineNumber: 621 ; Message: null
ClassName: org.springframework.web.servlet.FrameworkServlet ; MethodName: service ; LineNumber: 837 ; Message: null
ClassName: javax.servlet.http.HttpServlet ; MethodName: service ; LineNumber: 728 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 305 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: org.apache.tomcat.websocket.server.WsFilter ; MethodName: doFilter ; LineNumber: 51 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 243 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: org.jeecgframework.core.aop.GZipFilter ; MethodName: doFilter ; LineNumber: 156 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 243 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: com.alibaba.druid.support.http.WebStatFilter ; MethodName: doFilter ; LineNumber: 140 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 243 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: org.springframework.web.filter.CharacterEncodingFilter ; MethodName: doFilterInternal ; LineNumber: 88 ; Message: null
ClassName: org.springframework.web.filter.OncePerRequestFilter ; MethodName: doFilter ; LineNumber: 107 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 243 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: org.springframework.orm.hibernate4.support.OpenSessionInViewFilter ; MethodName: doFilterInternal ; LineNumber: 150 ; Message: null
ClassName: org.springframework.web.filter.OncePerRequestFilter ; MethodName: doFilter ; LineNumber: 107 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: internalDoFilter ; LineNumber: 243 ; Message: null
ClassName: org.apache.catalina.core.ApplicationFilterChain ; MethodName: doFilter ; LineNumber: 210 ; Message: null
ClassName: org.apache.catalina.core.StandardWrapperValve ; MethodName: invoke ; LineNumber: 222 ; Message: null
ClassName: org.apache.catalina.core.StandardContextValve ; MethodName: invoke ; LineNumber: 123 ; Message: null
ClassName: org.apache.catalina.authenticator.AuthenticatorBase ; MethodName: invoke ; LineNumber: 502 ; Message: null
ClassName: org.apache.catalina.core.StandardHostValve ; MethodName: invoke ; LineNumber: 171 ; Message: null
ClassName: org.apache.catalina.valves.ErrorReportValve ; MethodName: invoke ; LineNumber: 100 ; Message: null
ClassName: org.apache.catalina.valves.AccessLogValve ; MethodName: invoke ; LineNumber: 953 ; Message: null
ClassName: org.apache.catalina.core.StandardEngineValve ; MethodName: invoke ; LineNumber: 118 ; Message: null
ClassName: org.apache.catalina.connector.CoyoteAdapter ; MethodName: service ; LineNumber: 408 ; Message: null
ClassName: org.apache.coyote.http11.AbstractHttp11Processor ; MethodName: process ; LineNumber: 1041 ; Message: null
ClassName: org.apache.coyote.AbstractProtocol$AbstractConnectionHandler ; MethodName: process ; LineNumber: 603 ; Message: null
ClassName: org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor ; MethodName: run ; LineNumber: 312 ; Message: null
ClassName: java.util.concurrent.ThreadPoolExecutor ; MethodName: runWorker ; LineNumber: 1145 ; Message: null
ClassName: java.util.concurrent.ThreadPoolExecutor$Worker ; MethodName: run ; LineNumber: 615 ; Message: null
ClassName: java.lang.Thread ; MethodName: run ; LineNumber: 745 ; Message: null




之前导入23条数据没有问题,现在需要导入654条,就报这个错误了。
我是先导入到一张零时表,然后再插入到其它表中,这句话是在从临时表插入到正式表时出的错,哪怕把值写死也不行。
请问这个问题该如何解。另,getter,setter都有写。网上也搜了一大把关于这个问题,但都没用。





jimmyfan 发表于 2019-7-25 14:36:02

本帖最后由 jimmyfan 于 2019-7-25 14:44 编辑

原因找到了,这个帖子也反应过。
http://www.jeecg.org/forum.php?mod=viewthread&tid=4070&highlight=minidao
测试验证结果,如下图


页: [1]
查看完整版本: Minidao之Bug,java.lang.reflect.UndeclaredThrowableException