|
August 24, 2017, 05:26:37 PM |
|
I noticed since block #481824 and onward, my bitcoinj library started throwing this exception when trying to parse blocks:
Exception in thread "main" java.lang.NegativeArraySizeException at org.bitcoinj.core.Message.readBytes(Message.java:334) at org.bitcoinj.core.TransactionOutput.parse(TransactionOutput.java:163) at org.bitcoinj.core.Message.<init>(Message.java:96) at org.bitcoinj.core.Message.<init>(Message.java:128) at org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:57) at org.bitcoinj.core.TransactionOutput.<init>(TransactionOutput.java:79) at org.bitcoinj.core.Transaction.parse(Transaction.java:569) at org.bitcoinj.core.Message.<init>(Message.java:96) at org.bitcoinj.core.Message.<init>(Message.java:128) at org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:57) at org.bitcoinj.core.Transaction.<init>(Transaction.java:228) at org.bitcoinj.core.Block.parseTransactions(Block.java:242) at org.bitcoinj.core.Block.parse(Block.java:266) at org.bitcoinj.core.Message.<init>(Message.java:96) at org.bitcoinj.core.Message.<init>(Message.java:128) at org.bitcoinj.core.Block.<init>(Block.java:162) at org.bitcoinj.core.BitcoinSerializer.makeBlock(BitcoinSerializer.java:270) at org.bitcoinj.core.MessageSerializer.makeBlock(MessageSerializer.java:72) at org.bitcoinj.utils.BlockFileLoader.loadNextBlock(BlockFileLoader.java:154) at org.bitcoinj.utils.BlockFileLoader.hasNext(BlockFileLoader.java:87)
I was able to parse blocks before this point no problem. Anyone have the same problem?
|