java.lang.RuntimeException: An error occured while executing doInBackground()

GitHub | d3roch4 | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    No static method encodeHex in Android

    GitHub | 2 years ago | d3roch4
    java.lang.RuntimeException: An error occured while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method encodeHex([BZ)[C in class Lorg/apache/commons/codec/binary/Hex; or its super classes (declaration of 'org.apache.commons.codec.binary.Hex' appears in /system/framework/ext.jar)

      at com.turn.ttorrent.common.Torrent.byteArrayToHexString()
    2. Java BitTorrent library
      Torrent.create
      1. com.turn.ttorrent.common.Torrent.byteArrayToHexString(Torrent.java:415)
      2. com.turn.ttorrent.common.Torrent.<init>(Torrent.java:145)
      3. com.turn.ttorrent.common.Torrent.create(Torrent.java:666)
      4. com.turn.ttorrent.common.Torrent.create(Torrent.java:534)
      4 frames