java.lang.RuntimeException

An error occurred while executing doInBackground()

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18686

  • via Appcelerator JIRA by Lokesh Choudhary, 7 months ago
    An error occurred while executing doInBackground()
  • via GitHub by billmeek
    , 5 months ago
    An error occurred while executing doInBackground()
  • via GitHub by lanceschi
    , 1 year ago
    An error occurred while executing doInBackground()
  • Stack trace

    • java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:309) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: java.lang.ExceptionInInitializerError at org.cyberneko.html.HTMLScanner.scanEntityRef(HTMLScanner.java:1386) at org.cyberneko.html.HTMLScanner$ContentScanner.scanAttribute(HTMLScanner.java:2955) at org.cyberneko.html.HTMLScanner$ContentScanner.scanAttribute(HTMLScanner.java:2785) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2639) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2071) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:891) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:491) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:444) at mf.org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:109) at mf.org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1199) at de.l3s.boilerpipe.sax.BoilerpipeSAXInput.getTextDocument(BoilerpipeSAXInput.java:61) at de.l3s.boilerpipe.sax.BoilerpipeSAXInput.getTextDocument(BoilerpipeSAXInput.java:49) at de.l3s.boilerpipe.sax.ImageExtractor.process(ImageExtractor.java:109) at com.ulicast.Feed.ImageLinkExtractor.doInBackground(ImageLinkExtractor.java:43) at com.ulicast.Feed.ImageLinkExtractor.doInBackground(ImageLinkExtractor.java:22) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more Caused by: java.lang.NullPointerException: in == null at java.util.Properties.load(Properties.java:246) at org.cyberneko.html.HTMLEntities.load0(HTMLEntities.java:102) at org.cyberneko.html.HTMLEntities.<init>(HTMLEntities.java:54) at org.cyberneko.html.HTMLScanner.scanEntityRef(HTMLScanner.java:1386) at org.cyberneko.html.HTMLScanner$ContentScanner.scanAttribute(HTMLScanner.java:2955) at org.cyberneko.html.HTMLScanner$ContentScanner.scanAttribute(HTMLScanner.java:2785) at org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(HTMLScanner.java:2639) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2071) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:891) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:491) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:444) at mf.org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:109) at mf.org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1199) at de.l3s.boilerpipe.sax.BoilerpipeSAXInput.getTextDocument(BoilerpipeSAXInput.java:61) at de.l3s.boilerpipe.sax.BoilerpipeSAXInput.getTextDocument(BoilerpipeSAXInput.java:49) at de.l3s.boilerpipe.sax.ImageExtractor.process(ImageExtractor.java:109) at com.ulicast.Feed.ImageLinkExtractor.doInBackground(ImageLinkExtractor.java:43) at com.ulicast.Feed.ImageLinkExtractor.doInBackground(ImageLinkExtractor.java:22) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    3 times, 1 month ago
    Once, 2 months ago
    Once, 5 months ago
    4 times, 7 months ago
    17 more bugmates