The CorruptedFrameException is thrown by RntbdTokenType.RntbdString.computeLength and caught by RntbdRequestManager.channelRead where it is converted to a GoneException in RntbdRequestManager.exceptionCaught. In all cases that this exception has been observed, it is the result of an off-by-one error when reading string data for the SessionToken header. This condition is detected when RntbdTokenType sees that the number of readable bytes in the current input buffer is one less than the length of SessionToken string to be read.
The
CorruptedFrameException
is thrown byRntbdTokenType.RntbdString.computeLength
and caught byRntbdRequestManager.channelRead
where it is converted to aGoneException
inRntbdRequestManager.exceptionCaught
. In all cases that this exception has been observed, it is the result of an off-by-one error when reading string data for theSessionToken
header. This condition is detected whenRntbdTokenType
sees that the number of readable bytes in the current input buffer is one less than the length ofSessionToken
string to be read.