Protocol message contained an invalid tag
1、Protocol message contained an invalid tag (zero) ,剧安颌儿如下图所示,这个错误产生的原因是在解释协议数据时,数据中包含了无效的数据,基本上就是数据在传输的过程中被修改了

3、另一种情况就是程序的逻辑代码有bug,比如多个线程同时对一块内存进行写操作,造成数据不一致,这种情况造成的机率比较大,这种的排查就要检查逻辑代码的实现,对比数据是否一致了

5、由于数据错乱还会抱出其它奇怪的异常,如Protobuf error:Protocol message tag had invalid wire type

7、还有下面这种异常:诔罨租磊InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length
