NPE при использовании множественной загрузки - PullRequest
0 голосов
/ 18 июня 2019

Получение NPE при использовании пакета multicFileUpload в приложении vaadin 8. Пакет com.wcs.wcslib.vaadin.widget.multifileupload версия: 4.0

[2019-06-17T14: 35: 42.771 + 0000] [Payara 5.184] [SEVERE] [] [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) на 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.service () для сервлета RootUIServlet выбросил исключение 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)по адресу org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access $ 100 (WorkerThreadIOStrategy.java:33) по адресу org.glassfish.grizzly.strategies.WorkerThreadIOStrategy $ WorkerThreadRunnable.run (WorkerThreadIOStrateth.gri.rig.rig.gl.AbstractThreadPool $ Worker.doWork (AbstractThreadPool.java:569) в org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run (AbstractThreadPool.java:549)

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

]]

...