java.io.IOException

stream is closed

Solutions on the web8136

  • stream is closed
  • via Java.net JIRA by creation_49221, 1 year ago
    stream is closed
  • via camel-dev by Christian Müller, 2 weeks ago
    stream is closed
  • Stack trace

    • java.io.IOException: stream is closed at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen(HttpURLConnection.java:3309)[na:1.8.0_91] at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3334)[na:1.8.0_91] at java.io.FilterInputStream.read(FilterInputStream.java:133)[na:1.8.0_91] at java.io.PushbackInputStream.read(PushbackInputStream.java:186)[na:1.8.0_91] at java.io.FilterInputStream.read(FilterInputStream.java:107)[na:1.8.0_91] at org.springframework.util.StreamUtils.copy(StreamUtils.java:126)[spring-core-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.http.converter.ResourceHttpMessageConverter.writeInternal(ResourceHttpMessageConverter.java:102)[spring-web-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.http.converter.ResourceHttpMessageConverter.writeInternal(ResourceHttpMessageConverter.java:47)[spring-web-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:195)[spring-web-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:238)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:183)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:81)[spring-web-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)[spring-webmvc-4.2.6.RELEASE.jar!/:4.2.6.RELEASE]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    17 times, 3 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    2 times, 11 months ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    15 more bugmates