com.baidu.dsp.common.exception.FileUploadException: null

GitHub | hxliujing | 5 months ago
  1. 0

    com.baidu.dsp.common.exception.FileUploadException: null

    GitHub | 5 months ago | hxliujing
    com.baidu.dsp.common.exception.FileUploadException: null

    Root Cause Analysis

    1. com.baidu.dsp.common.exception.FileUploadException

      null

      at com.baidu.disconf.web.web.config.controller.ConfigUpdateController.updateFileWithText()
    2. com.baidu.disconf
      ConfigUpdateController$$FastClassBySpringCGLIB$$d464ad9d.invoke
      1. com.baidu.disconf.web.web.config.controller.ConfigUpdateController.updateFileWithText(ConfigUpdateController.java:151)[classes/:na]
      2. com.baidu.disconf.web.web.config.controller.ConfigUpdateController$$FastClassBySpringCGLIB$$d464ad9d.invoke(<generated>)[spring-core-4.1.7.RELEASE.jar:na]
      2 frames
    3. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      1 frame
    4. Spring AOP
      MethodInvocationProceedingJoinPoint.proceed
      1. org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      3. org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      3 frames
    5. com.baidu.disconf
      RoleResourceAspect.decideAccess
      1. com.baidu.disconf.web.service.roleres.service.RoleResourceAspect.decideAccess(RoleResourceAspect.java:109)[classes/:na]
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    7. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      3. org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      5. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      7. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)[spring-aop-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      7 frames
    8. com.baidu.disconf
      ConfigUpdateController$$EnhancerBySpringCGLIB$$7500aba9.updateFileWithText
      1. com.baidu.disconf.web.web.config.controller.ConfigUpdateController$$EnhancerBySpringCGLIB$$7500aba9.updateFileWithText(<generated>)[spring-core-4.1.7.RELEASE.jar:na]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65]
      4 frames
    10. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2 frames
    11. Spring MVC
      FrameworkServlet.doPut
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      8. org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:880)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      8 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:651)[servlet-api.jar:na]
      1 frame
    13. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)[spring-webmvc-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      1 frame
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na]
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[catalina.jar:8.5.0]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[catalina.jar:8.5.0]
      2 frames
    16. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-websocket.jar:8.5.0]
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[catalina.jar:8.5.0]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[catalina.jar:8.5.0]
      2 frames
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2 frames
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[catalina.jar:8.5.0]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[catalina.jar:8.5.0]
      2 frames
    20. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:84)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2 frames
    21. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[catalina.jar:8.5.0]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[catalina.jar:8.5.0]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[catalina.jar:8.5.0]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)[catalina.jar:8.5.0]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)[catalina.jar:8.5.0]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[catalina.jar:8.5.0]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.5.0]
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)[catalina.jar:8.5.0]
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[catalina.jar:8.5.0]
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)[catalina.jar:8.5.0]
      10 frames
    22. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1096)[tomcat-coyote.jar:8.5.0]
      2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-coyote.jar:8.5.0]
      3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)[tomcat-coyote.jar:8.5.0]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1480)[tomcat-coyote.jar:8.5.0]
      4 frames
    23. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
      2 frames
    24. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.5.0]
      1 frame
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      1 frame