If an invalid length is received, a buffer is not constructed to consume the message data. The result is an NPE.