com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.

GitHub | gary-rowe | 2 years ago
  1. 0

    GitHub comment 286#67639535

    GitHub | 2 years ago | gary-rowe
    com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.
  2. 0

    Netty, ProtoBuf, WebSocket; how to convert BinaryWebSocketFrame to protobuf type?

    Stack Overflow | 5 months ago | Bhesh Gurung
    io.netty.handler.codec.DecoderException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.
  3. 0

    Hadoop: Hortonworks Sandbox: InvalidProtocolBufferException

    Stack Overflow | 2 years ago | Puce
    com.google.protobuf.InvalidProtocolBufferException: Protocol message tag had invalid wire type.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    protobuf error

    Google Groups | 2 years ago | Ian Brooks
    com.google.protobuf.InvalidProtocolBufferException: Protocol message tag had invalid wire type.
  6. 0

    Java with HDFS file read/write

    Stack Overflow | 1 year ago | Ben
    java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message tag had invalid wire type.; Host Details : local host is: "KWTLT02221/169.254.208.16"; destination host is: "172.16.104.124":8888;

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.protobuf.InvalidProtocolBufferException

      While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.

      at com.google.protobuf.InvalidProtocolBufferException.truncatedMessage()
    2. Protocol Buffer Java API
      GeneratedMessage.parseUnknownField
      1. com.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:70)[protobuf-java-2.5.0.jar:na]
      2. com.google.protobuf.CodedInputStream.readRawBytes(CodedInputStream.java:854)[protobuf-java-2.5.0.jar:na]
      3. com.google.protobuf.CodedInputStream.readBytes(CodedInputStream.java:329)[protobuf-java-2.5.0.jar:na]
      4. com.google.protobuf.UnknownFieldSet$Builder.mergeFieldFrom(UnknownFieldSet.java:484)[protobuf-java-2.5.0.jar:na]
      5. com.google.protobuf.GeneratedMessage.parseUnknownField(GeneratedMessage.java:193)[protobuf-java-2.5.0.jar:na]
      5 frames
    3. org.bitcoinj.wallet
      Protos$Wallet$1.parsePartialFrom
      1. org.bitcoinj.wallet.Protos$Wallet.<init>(Protos.java:14465)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      2. org.bitcoinj.wallet.Protos$Wallet.<init>(Protos.java:14423)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      3. org.bitcoinj.wallet.Protos$Wallet$1.parsePartialFrom(Protos.java:14626)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      4. org.bitcoinj.wallet.Protos$Wallet$1.parsePartialFrom(Protos.java:14621)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      4 frames
    4. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200)[protobuf-java-2.5.0.jar:na]
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:217)[protobuf-java-2.5.0.jar:na]
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:223)[protobuf-java-2.5.0.jar:na]
      4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)[protobuf-java-2.5.0.jar:na]
      4 frames
    5. org.bitcoinj.wallet
      Protos$Wallet.parseFrom
      1. org.bitcoinj.wallet.Protos$Wallet.parseFrom(Protos.java:15469)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      1 frame
    6. org.bitcoinj.store
      WalletProtobufSerializer.parseToProto
      1. org.bitcoinj.store.WalletProtobufSerializer.parseToProto(WalletProtobufSerializer.java:538)[bitcoinj-core-0.13-alice-SNAPSHOT.jar:na]
      1 frame
    7. org.multibit.hd
      RestoreWalletReportPanelView$1.run
      1. org.multibit.hd.core.managers.WalletManager.loadWalletFromFile(WalletManager.java:692)[classes/:na]
      2. org.multibit.hd.core.managers.WalletManager.loadFromWalletDirectory(WalletManager.java:739)[classes/:na]
      3. org.multibit.hd.core.managers.WalletManager.getOrCreateTrezorSoftWalletSummaryFromSeedPhrase(WalletManager.java:476)[classes/:na]
      4. org.multibit.hd.ui.views.wizards.welcome.restore_wallet.RestoreWalletReportPanelView.createWalletFromSeedPhraseAndTimestamp(RestoreWalletReportPanelView.java:444)[classes/:na]
      5. org.multibit.hd.ui.views.wizards.welcome.restore_wallet.RestoreWalletReportPanelView.handleRestoreWallet(RestoreWalletReportPanelView.java:334)[classes/:na]
      6. org.multibit.hd.ui.views.wizards.welcome.restore_wallet.RestoreWalletReportPanelView.access$000(RestoreWalletReportPanelView.java:64)[classes/:na]
      7. org.multibit.hd.ui.views.wizards.welcome.restore_wallet.RestoreWalletReportPanelView$1.run(RestoreWalletReportPanelView.java:166)[classes/:na]
      7 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_51]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_51]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_51]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_51]
      5. java.lang.Thread.run(Thread.java:744)[na:1.7.0_51]
      5 frames