vaadin - Getting java.io.IOException: Stream Closed from DownloadStream -


i'm developing vaadin application. function i'm working on creating 2 pdf's, merging them , downloading client temporary file. few times strange ioexception no reference code. idea on may cause it?

the stack trace:

java.io.ioexception: stream closed     @ java.io.fileinputstream.readbytes(native method)     @ java.io.fileinputstream.read(unknown source)     @ com.vaadin.server.downloadstream.writeresponse(downloadstream.java:304)     @ com.vaadin.server.abstractclientconnector.handleconnectorrequest(abstractclientconnector.java:646)     @ com.vaadin.server.connectorresourcehandler.handlerequest(connectorresourcehandler.java:83)     @ com.vaadin.server.vaadinservice.handlerequest(vaadinservice.java:1408)     @ com.vaadin.server.vaadinservlet.service(vaadinservlet.java:350)     @ javax.servlet.http.httpservlet.service(httpservlet.java:790)     @ org.eclipse.jetty.servlet.servletholder.handle(servletholder.java:808)     @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:587)     @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:143)     @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:577)     @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:223)     @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1127)     @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:515)     @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:185)     @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1061)     @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:141)     @ org.eclipse.jetty.server.handler.handlerlist.handle(handlerlist.java:52)     @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:97)     @ org.eclipse.jetty.server.server.handle(server.java:497)     @ org.eclipse.jetty.server.httpchannel.handle(httpchannel.java:310)     @ org.eclipse.jetty.server.httpconnection.onfillable(httpconnection.java:257)     @ org.eclipse.jetty.io.abstractconnection$2.run(abstractconnection.java:540)     @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:635)     @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:555)     @ java.lang.thread.run(unknown source) 

any idea on may cause it?

java.io.ioexception: stream closed caused closing stream , continuing use it. bug in code.

nb not caused peer does, , not caused peer closing his end of connection.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -