novitski / bitcoinj

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

Precondition failed in ConnectionHandler.closeConnection() #554

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This happens from time to time, on bitcoinj 0.11.2. Here is the stack trace. 
See attached logfile.

java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
at 
com.google.bitcoin.net.ConnectionHandler.closeConnection(ConnectionHandler.java:
173)
at com.google.bitcoin.core.PeerSocketHandler.close(PeerSocketHandler.java:107)
at 
com.google.bitcoin.core.PeerSocketHandler.timeoutOccurred(PeerSocketHandler.java
:113)
at 
com.google.bitcoin.net.AbstractTimeoutHandler$1.run(AbstractTimeoutHandler.java:
75)
at java.util.Timer$TimerImpl.run(Timer.java:284)

Original issue reported on code.google.com by andreas....@gmail.com on 6 May 2014 at 1:41

Attachments:

GoogleCodeExporter commented 9 years ago
Is this a forked copy of the code? ConnectionHandler.closeConnection does not 
have any calls to checkState in it.

Original comment by mh.in.en...@gmail.com on 6 May 2014 at 1:52

GoogleCodeExporter commented 9 years ago
Hmm no. It appears as if this is the regular version. I just asked several 
reporters, let's see what they say.

Original comment by andreas....@gmail.com on 6 May 2014 at 3:18

GoogleCodeExporter commented 9 years ago
You could also ask if they're using ART.

Original comment by mh.in.en...@gmail.com on 6 May 2014 at 3:21

GoogleCodeExporter commented 9 years ago
Had that thought as well. But at least one of the reporters is using Android 
4.0.4.

Original comment by andreas....@gmail.com on 6 May 2014 at 3:28

GoogleCodeExporter commented 9 years ago
Any feedback?

Original comment by mh.in.en...@gmail.com on 21 May 2014 at 5:28

GoogleCodeExporter commented 9 years ago
Unfortunately not. I'll ask some more.

Original comment by andreas....@gmail.com on 21 May 2014 at 10:18

GoogleCodeExporter commented 9 years ago
Closing for now. Seems like this may be from some kind of fork?

Original comment by mh.in.en...@gmail.com on 3 Aug 2014 at 7:09