Connection(client or server) abruptly terminated before server could finish writing response body

java.io.IOException
Javadoc
Signals that an I/O exception of some sort has occurred. This class is the general class of exceptions produced by failed or interrupted I/O operations. @author unascribed @see java.io.InputStream @see java.io.OutputStream @since JDK1.0
at sun.nio.ch.FileDispatcherImpl.write0
(source)
at sun.nio.ch.SocketDispatcher.write
(source)
at sun.nio.ch.IOUtil.writeFromNativeBuffer
(source)
at sun.nio.ch.IOUtil.write
(source)
at sun.nio.ch.SocketChannelImpl.write
(source)
at org.eclipse.jetty.io.ChannelEndPoint.flush
(source)
org.eclipse.jetty.io.EofException
Javadoc
A Jetty specialization of EOFException.

This is thrown by Jetty to distinguish between EOF received from the connection, vs and EOF thrown by some application talking to some other file/socket etc. The only difference in handling is that Jetty EOFs are logged less verbosely.

at org.eclipse.jetty.io.ChannelEndPoint.flush
(source)
at org.eclipse.jetty.io.WriteFlusher.flush
(source)
at org.eclipse.jetty.io.WriteFlusher.write
(source)
at org.eclipse.jetty.io.AbstractEndPoint.write
(source)
at org.eclipse.jetty.server.HttpConnection$SendCallback.process
(source)
at org.eclipse.jetty.util.IteratingCallback.processing
(source)
at org.eclipse.jetty.util.IteratingCallback.iterate
(source)
at org.eclipse.jetty.server.HttpConnection.send
(source)
at org.eclipse.jetty.server.HttpChannel.sendResponse
(source)
at org.eclipse.jetty.server.HttpChannel.write
(source)
at org.eclipse.jetty.server.HttpOutput.write
(source)
at org.eclipse.jetty.server.HttpOutput.write
(source)
at org.eclipse.jetty.server.HttpOutput.write
(source)
18 frames hidden

Typical Exception Messages

  1. null
  2. <No message>

Origin

HttpOutput.write() has thrown an EofException

java.io.IOException
17 frames hidden
org.eclipse.jetty.server.HttpOutput.write
7Web pages

Specific cases

External results for this pattern (6)

  1. lmivanvia GitHub3 months ago
  2. Darragh Baileyvia Google Groups8 months ago
    No message found for this stack trace.
    Show stack trace
  3. smokingwheelsvia GitHub2 years ago
    No message found for this stack trace.
    Show stack trace