在vaadin 8应用程序中使用multipleFileUpload软件包时获取NPE。 软件包com.wcs.wcslib.vaadin.widget.multifile上传版本:4.0
[2019-06-17T14:35:42.771 + 0000] [Payara 5.184] [严重] [] [com.vaadin.server.DefaultErrorHandler] [tid:_ThreadID = 24038 _ThreadName = http-thread-pool :: http -listener-1(6)] [timeMillis:1560782142771] [levelValue:1000] [[
java.lang.NullPointerException 在com.vaadin.server.communication.FileUploadHandler.handleRequest(FileUploadHandler.java:274) 在com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1601) 在com.vaadin.server.VaadinServlet.service(VaadinServlet.java:445) 在javax.servlet.http.HttpServlet.service(HttpServlet.java:791) 在org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1628) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:209) 在org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:305) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:251) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:209) 在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) 在org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:755) 在org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:575) 在com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) 在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) 在org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:371) 在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238) 在com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call(ContainerMapper.java:520) 在com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217) 在org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:182) 在org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:156) 在org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:218) 在org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute(ExecutorResolver.java:95) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88) 在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53) 在org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:524) 在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:89) 在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:94) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100(WorkerThreadIOStrategy.java:33) 在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:114)中 在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:569) 在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:549) 在java.lang.Thread.run(Thread.java:748) ]]
[2019-06-17T14:35:42.779 + 0000] [Payara 5.184] [警告] [] [javax.enterprise.web] [tid:_ThreadID = 24038 _ThreadName = http-thread-pool :: http-listener -1(6)] [timeMillis:1560782142779] [levelValue:900] [[ StandardWrapperValve [RootUIServlet]:Servlet RootUIServlet的Servlet.service()引发异常 java.lang.NullPointerException 在com.vaadin.server.communication.FileUploadHandler.handleRequest(FileUploadHandler.java:274) 在com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1601) 在com.vaadin.server.VaadinServlet.service(VaadinServlet.java:445) 在javax.servlet.http.HttpServlet.service(HttpServlet.java:791) 在org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1628) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:209) 在org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:305) 在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:251) 在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:209) 在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) 在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) 在org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:755) 在org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:575) 在com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) 在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) 在org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:371) 在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238) 在com.sun.enterprise.v3.services.impl.ContainerMapper $ HttpHandlerCallable.call(ContainerMapper.java:520) 在com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:217) 在org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:182) 在org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:156) 在org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:218) 在org.glassfish.grizzly.filterchain.ExecutorResolver $ 9.execute(ExecutorResolver.java:95) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:260) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:177) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:109) 在org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:88) 在org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:53) 在org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:524) 在org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:89) 在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:94) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100(WorkerThreadIOStrategy.java:33) 在org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:114)中 在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:569) 在org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:549)
at java.lang.Thread.run(Thread.java:748)
]]