There seems to be two different EOFExceptions being thrown: java.io.EOFException
and org.eclipse.jetty.io.EofException
. The main file in play here (used by both client/server side) is CommitSpool.java
This exception is being thrown to indicate an early, unexpected, EOF. The exception is most commonly thrown at the start of an ATH test against staging, but it can be found in prod with clients other than cloudbees
. Following the stack trace, it seems like, while reading the input stream, a read is requested with a valid size
determined from what is remaining to be read but the read()
call throws an exception because the stream returned at -1
here.
I think that it would be safe to just handle
NewerOlder