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

Stack Overflow | Masrepus | 9 months 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

    java.lang.VerifyError when downloading data with jsoup in Android N

    codego.xyz | 8 months ago
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    java.lang.VerifyError when downloading data with jsoup in Android N

    Stack Overflow | 9 months ago | Masrepus
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.VerifyError

      Verifier rejected class org.jsoup.parser.HtmlTreeBuilderState$7: boolean org.jsoup.parser.HtmlTreeBuilderState$7.process(org.jsoup.parser.Token, org.jsoup.parser.HtmlTreeBuilder) failed to verify: boolean org.jsoup.parser.HtmlTreeBuilderState$7.process(org.jsoup.parser.Token, org.jsoup.parser.HtmlTreeBuilder): [0x140B] Invalid reg type for array index (Reference: org.jsoup.nodes.Node[]) (declaration of 'org.jsoup.parser.HtmlTreeBuilderState$7' appears in /data/app/com.masrepus.vplanapp-2/base.apk)

      at org.jsoup.parser.HtmlTreeBuilderState.<clinit>()
    2. jsoup
      HttpConnection.post
      1. org.jsoup.parser.HtmlTreeBuilderState.<clinit>(HtmlTreeBuilderState.java:246)
      2. org.jsoup.parser.HtmlTreeBuilder.parse(HtmlTreeBuilder.java:53)
      3. org.jsoup.parser.Parser.parseInput(Parser.java:30)
      4. org.jsoup.helper.DataUtil.parseByteData(DataUtil.java:81)
      5. org.jsoup.helper.HttpConnection$Response.parse(HttpConnection.java:517)
      6. org.jsoup.helper.HttpConnection.post(HttpConnection.java:174)
      6 frames
    3. com.masrepus.vplanapp
      AsyncDownloader.doInBackground
      1. com.masrepus.vplanapp.network.AsyncDownloader.updateAvailableFilesList(AsyncDownloader.java:961)
      2. com.masrepus.vplanapp.network.AsyncDownloader.downloadVplan(AsyncDownloader.java:237)
      3. com.masrepus.vplanapp.network.AsyncDownloader.doInBackground(AsyncDownloader.java:135)
      4. com.masrepus.vplanapp.network.AsyncDownloader.doInBackground(AsyncDownloader.java:113)
      4 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:304)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame