com.google.protobuf.InvalidProtocolBufferException

Protocol message contained an invalid tag (zero).

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

Stack trace

  • com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero). at com.google.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:89) at com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:158) at com.google.protobuf.UnknownFieldSet$Builder.mergeFrom(UnknownFieldSet.java:492) at com.google.protobuf.UnknownFieldSet$Builder.mergeFrom(UnknownFieldSet.java:611) at com.google.protobuf.UnknownFieldSet$Builder.mergeFrom(UnknownFieldSet.java:281) at com.google.protobuf.CodedInputStream.readGroup(CodedInputStream.java:424) at com.google.protobuf.UnknownFieldSet$Builder.mergeFieldFrom(UnknownFieldSet.java:520) at com.google.protobuf.MessageReflection.mergeFieldFrom(MessageReflection.java:746) at com.google.protobuf.GeneratedMessage$ExtendableMessage.parseUnknownField(GeneratedMessage.java:735) at com.google.openrtb.OpenRtb$BidRequest$Impression.<init>(OpenRtb.java:8048) at com.google.openrtb.OpenRtb$BidRequest$Impression.<init>(OpenRtb.java:8004) at com.google.openrtb.OpenRtb$BidRequest$Impression$1.parsePartialFrom(OpenRtb.java:8180) at com.google.openrtb.OpenRtb$BidRequest$Impression$1.parsePartialFrom(OpenRtb.java:8175) at com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:495) at com.google.openrtb.OpenRtb$BidRequest.<init>(OpenRtb.java:7483) at com.google.openrtb.OpenRtb$BidRequest.<init>(OpenRtb.java:7422) at com.google.openrtb.OpenRtb$BidRequest$1.parsePartialFrom(OpenRtb.java:7652) at com.google.openrtb.OpenRtb$BidRequest$1.parsePartialFrom(OpenRtb.java:7647) at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:137) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:168) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:180) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:185) at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) at adx.RequestHandler.channelRead0(RequestHandler.java:67) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:247) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:242) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:147) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:339) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:324) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:847) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:430) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:384) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
vega113vega113
115 times, last one
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
1 more bugmates