java.lang.IllegalStateException: Trying to download a piece while previous download not completed!

GitHub | chrisawad | 11 months ago
  1. 0

    IllegalStateException: Trying to download a piece while previous download not completed!

    GitHub | 11 months ago | chrisawad
    java.lang.IllegalStateException: Trying to download a piece while previous download not completed!
  2. 0

    PEX(peer exchange) issues?

    GitHub | 2 years ago | dessalines
    java.lang.IllegalStateException: Trying to download a piece while previous download not completed!
  3. 0

    GitHub comment 43#20812221

    GitHub | 4 years ago | Nosfert
    java.lang.IllegalStateException: Trying to download a piece while previous download not completed!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    You can solve this by using an actual Service instead of an IntentService
  6. 0
    You should define the TestContext class in your classpath

    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. java.lang.IllegalStateException

      Trying to download a piece while previous download not completed!

      at com.turn.ttorrent.client.peer.SharingPeer.downloadPiece()
    2. Java BitTorrent library
      PeerExchange$IncomingThread.run
      1. com.turn.ttorrent.client.peer.SharingPeer.downloadPiece(SharingPeer.java:357)
      2. com.turn.ttorrent.client.SharedTorrent.handlePeerReady(SharedTorrent.java:700)
      3. com.turn.ttorrent.client.peer.SharingPeer.firePeerReady(SharingPeer.java:654)
      4. com.turn.ttorrent.client.peer.SharingPeer.handleMessage(SharingPeer.java:615)
      5. com.turn.ttorrent.client.peer.PeerExchange$IncomingThread.run(PeerExchange.java:364)
      5 frames