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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by simone giusti, 1 year ago
An error occurred while executing doInBackground()
via GitHub by billmeek
, 11 months ago
An error occurred while executing doInBackground()
via GitHub by Neamar
, 11 months ago
An error occurred while executing doInBackground()
via GitHub by sarvajeet294
, 6 months ago
An error occurred while executing doInBackground()
via GitHub by Madis0
, 7 months ago
An error occurred while executing doInBackground()
via GitHub by Lineflyer
, 5 months ago
An error occurred while executing doInBackground()
java.lang.IllegalAccessError: Method 'void org.jdom2.ContentList.sort(java.util.Comparator)' implementing interface method 'void java.util.List.sort(java.util.Comparator)' is not public (declaration of 'org.jdom2.ContentList' appears in /data/data/com.pipodi.italiansubsmobileclient/files/instant-run/dex/slice-jdom-2.0.5_82fed81e6dd7ad54ef864ead3d2cf112380d9d58-classes.dex)
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:299)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:292)
at dalvik.system.DexPathList.findClass(DexPathList.java:418)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
at com.android.tools.fd.runtime.IncrementalClassLoader.findClass(IncrementalClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:367)
at java.lang.ClassLoader.loadClass(ClassLoader.java:367)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at org.jdom2.Document.(Document.java:83)
at org.jdom2.Document.(Document.java:154)
at org.jdom2.DefaultJDOMFactory.document(DefaultJDOMFactory.java:190)
at org.jdom2.input.sax.SAXHandler.reset(SAXHandler.java:228)
at org.jdom2.input.sax.SAXHandler.(SAXHandler.java:208)
at org.jdom2.input.sax.DefaultSAXHandlerFactory$DefaultSAXHandler.(DefaultSAXHandlerFactory.java:76)
at org.jdom2.input.sax.DefaultSAXHandlerFactory.createSAXHandler(DefaultSAXHandlerFactory.java:82)
at org.jdom2.input.SAXBuilder.buildEngine(SAXBuilder.java:848)
at org.jdom2.input.SAXBuilder.getEngine(SAXBuilder.java:904)
at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091)
at com.pipodi.italiansubsmobileclient.connections.Connection.connectToAPIURL(Connection.java:20)
at com.pipodi.italiansubsmobileclient.connections.LoginVariables.getAuthCode(LoginVariables.java:39)
at com.pipodi.italiansubsmobileclient.connections.ItaSALogin.doInBackground(ItaSALogin.java:69)
at com.pipodi.italiansubsmobileclient.connections.ItaSALogin.doInBackground(ItaSALogin.java:38)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.