novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

ERROR Wallet[742] Inconsistent wallet sizes #361

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I seem to have a corrupt wallet. Getting this error when try to refresh with 
RefreshWallet.

Will try to debug later, unless someone knows exactly what issue is.

2013-03-22/07:35:55.907/GMT [New I/O worker #1] ERROR Wallet[742] Inconsistent 
wallet sizes: 293 294
2013-03-22/07:35:55.911/GMT [New I/O worker #1] WARN  Peer$PeerHandler[227] 
[169.254.239.149]:8333 - 
java.lang.IllegalStateException
    at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at com.google.bitcoin.core.Wallet.receive(Wallet.java:1146)
    at com.google.bitcoin.core.Wallet.receiveFromBlock(Wallet.java:825)
    at com.google.bitcoin.core.AbstractBlockChain.sendTransactionsToListener(AbstractBlockChain.java:642)
    at com.google.bitcoin.core.AbstractBlockChain.connectBlock(AbstractBlockChain.java:411)
    at com.google.bitcoin.core.AbstractBlockChain.add(AbstractBlockChain.java:359)
    at com.google.bitcoin.core.AbstractBlockChain.add(AbstractBlockChain.java:213)
    at com.google.bitcoin.core.Peer.processBlock(Peer.java:676)
    at com.google.bitcoin.core.Peer.processMessage(Peer.java:268)
    at com.google.bitcoin.core.Peer.access$5(Peer.java:245)
    at com.google.bitcoin.core.Peer$PeerHandler.messageReceived(Peer.java:237)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
    at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:485)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)
    at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
    at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by murexcon...@googlemail.com on 22 Mar 2013 at 8:13

GoogleCodeExporter commented 9 years ago
Do you have the rest of the logs?

Original comment by hearn@google.com on 22 Mar 2013 at 9:21

GoogleCodeExporter commented 9 years ago
Related to issue 342?

Original comment by andreas....@gmail.com on 22 Mar 2013 at 9:48

GoogleCodeExporter commented 9 years ago
Could be. There were some issues with double spends that I fixed, but I doubt 
this is the issue.

Original comment by hearn@google.com on 22 Mar 2013 at 12:55