org.bitcoinj.core.ProtocolException: Claimed value length too large: 50331647

GitHub | rktoomey | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    bitcoinj fails to deserialize the new 0.13+ block format from bitcoind

    GitHub | 3 months ago | rktoomey
    org.bitcoinj.core.ProtocolException: Claimed value length too large: 50331647
  2. 0

    GitHub comment 1093#158451436

    GitHub | 1 year ago | jlopp
    org.bitcoinj.store.BlockStoreException: java.lang.IllegalStateException: You must construct a Context object before using bitcoinj!
  3. 0

    Failure when attempting to use pull-tests.jar with Core

    GitHub | 1 year ago | droark
    java.lang.IllegalStateException: You must construct a Context object before using bitcoinj!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 34#120097765

    GitHub | 2 years ago | justinvforvendetta
    org.bitcoinj.core.ProtocolException: java.lang.ArrayIndexOutOfBoundsException: length=230; index=266
  6. 0

    GitHub comment 34#120456893

    GitHub | 2 years ago | justinvforvendetta
    org.bitcoinj.core.ProtocolException: java.lang.ArrayIndexOutOfBoundsException: length=377; index=384

    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. org.bitcoinj.core.ProtocolException

      Claimed value length too large: 50331647

      at org.bitcoinj.core.Message.readBytes()
    2. org.bitcoinj.core
      MessageSerializer.makeBlock
      1. org.bitcoinj.core.Message.readBytes(Message.java:331)
      2. org.bitcoinj.core.TransactionOutput.parse(TransactionOutput.java:163)
      3. org.bitcoinj.core.Message.<init>(Message.java:96)
      4. org.bitcoinj.core.Message.<init>(Message.java:128)
      5. org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:57)
      6. org.bitcoinj.core.TransactionOutput.<init>(TransactionOutput.java:79)
      7. org.bitcoinj.core.Transaction.parse(Transaction.java:568)
      8. org.bitcoinj.core.Message.<init>(Message.java:96)
      9. org.bitcoinj.core.Message.<init>(Message.java:128)
      10. org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:57)
      11. org.bitcoinj.core.Transaction.<init>(Transaction.java:227)
      12. org.bitcoinj.core.Block.parseTransactions(Block.java:242)
      13. org.bitcoinj.core.Block.parse(Block.java:266)
      14. org.bitcoinj.core.Message.<init>(Message.java:96)
      15. org.bitcoinj.core.Message.<init>(Message.java:128)
      16. org.bitcoinj.core.Block.<init>(Block.java:162)
      17. org.bitcoinj.core.BitcoinSerializer.makeBlock(BitcoinSerializer.java:270)
      18. org.bitcoinj.core.MessageSerializer.makeBlock(MessageSerializer.java:72)
      18 frames