在后台上传大媒体文件时出现问题

2020-09-30 05:51发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我试图将文件(ZIP,16mb)...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我试图将文件(ZIP,16mb)上传到后台的媒体中。

上传循环无限。

日志输出:

 错误[hybrisHTTP26] [] [AuUploader]无法上传
   java.lang.NullPointerException
      在org.zkoss.zk.au.http.AuUploader.service(AuUploader.java:117)[zk-8.0.0.jar:3.6.4]
      在org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:459)[zk-8.0.0.jar:3.6.4]
      在org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494)[zk-8.0.0.jar:3.6.4]
      在javax.servlet.http.HttpServlet.service(HttpServlet.java:646)[servlet-api.jar :?]
      在javax.servlet.http.HttpServlet.service(HttpServlet.java:727)[servlet-api.jar :?]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat7-websocket.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      在org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      在org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在com.hybris.backoffice.mobile.filter.BackofficeMobileFilter.doFilter(BackofficeMobileFilter.java:59)[BackofficeMobileFilter.class :?]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:254)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ StatisticsGatewayFilter.doFilter(AbstractPlatformFilterChain.java:343)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.SecureMediaFilter.doFilter(SecureMediaFilter.java:105)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在com.hybris.cockpitng.modules.spring.filter.ExternalModuleContextClassLoaderFilter.doFilter(ExternalModuleContextClassLoaderFilter.java:44)[cockpit-module-aggregator-2.5.3-RC2.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter.doFilter(DynamicCatalogVersionActivationFilter.java:91)[classes/:?]
      在de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter $$ FastClassBySpringCGLIB $$ 2d468805.invoke()[spring-core-4.1.9.RELEASE.jar :?]
      在org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.framework.CglibAopProxy $ CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)上[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.aop.framework.CglibAopProxy $ DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)[spring-aop-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在de.hybris.platform.servicelayer.web.DynamicCatalogVersionActivationFilter $$ EnhancerBySpringCGLIB $$ 1b08ffc5.doFilter()[spring-core-4.1.9.RELEASE.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.DataSourceSwitchingFilter.doFilter(DataSourceSwitchingFilter.java:71)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:71)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.RedirectWhenSystemIsNotInitializedFilter.doFilter(RedirectWhenSystemIsNotInitializedFilter.java:102)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.TenantActivationFilter.doFilter(TenantActivationFilter.java:89)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.Log4JFilter.doFilter(Log4JFilter.java:45)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain $ InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:224)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.doFilterInternal(AbstractPlatformFilterChain.java:154)[coreserver.jar :?]
      在org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[spring-web-4.1.9.RELEASE.jar:4.1.9.RELEASE]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在de.hybris.platform.servicelayer.web.XSSFilter.processPatternsAndDoFilter(XSSFilter.java:293)[coreserver.jar :?]
      在de.hybris.platform.servicelayer.web.XSSFilter.doFilter(XSSFilter.java:247)[coreserver.jar :?]
      在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)[catalina.jar:7.0.59]
      在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)[catalina.jar:7.0.59]
      在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)[catalina.jar:7.0.59]
      在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)[catalina.jar:7.0.59]
      在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)[catalina.jar:7.0.59]
      在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)[catalina.jar:7.0.59]
      在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)[catalina.jar:7.0.59]
      在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)[catalina.jar:7.0.59]
      在org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)[catalina.jar:7.0.59]
      在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)[catalina.jar:7.0.59]
      在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)[catalina.jar:7.0.59]
      在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)[tomcat-coyote.jar:7.0.59]
      在org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:611)[tomcat-coyote.jar:7.0.59]
      在org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:314)[tomcat-coyote.jar:7.0.59]
      在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_92]
      在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_92]
      在org.apache.tomcat.util.threads.TaskThread $ WrappingRunnable.run(TaskThread.java:61)[tomcat-coyote.jar:7.0.59]
      在java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]

  

操作系统:Linux hybris:6.1.0.3

在更改属性之前,我也没有收到错误消息(文件很大)

  backoffice.fileUpload.maxSize = 50000
  

有人知道这里的问题是什么吗? 谢谢

付费偷看设置
发送
2条回答
槿木_熙
1楼-- · 2020-09-30 06:29

我知道默认配置是

  backoffice.fileUpload.maxSize = 50000

  

实际上,Hybris在Hmc中也存在类似的问题,即有关更改已报告给维护团队的UploadFile的maxSize的问题。

HMC应该允许配置最大上传大小

haha101010
2楼-- · 2020-09-30 06:35
< p> backoffice/project.properties中的默认值

backoffice.fileUpload.maxSize = 10000

一周热门 更多>