if (length < 0)
if (length == 0)
   protected Serializable readPayloadExternal(ObjectInput in)      throws IOException, ClassNotFoundException   {      int length = in.readInt();      if (length < 0)      {         return null;      }      byte[] payload = new byte[length];      in.readFully(payload);      return payload;   }