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

Stack Overflow | Sathya Baman | 4 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

    Android Error While Uploading files using Async task

    Stack Overflow | 4 months ago | Sathya Baman
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    [Android] App crashing with `java.lang.NoClassDefFoundError`

    GitHub | 4 months ago | breadadams
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v8/renderscript/RenderScript;
  3. 0

    Error when API interface ends with "interface"

    GitHub | 11 months ago | Ashotyanski
    java.lang.ClassNotFoundException: Didn't find class "retrofit.Call" on path: DexPathList[[dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_9_8c11bab7d65e67470101e136f67db8e71618a366-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_8_90579ff66ccd8c6bafe9f4b398388277b1f2c6dc-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_7_1908d81de941cfa7fb96e9d628120ea65e37d620-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_6_207c4808668c004974fbd206946f9e5eb1d82fe7-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_5_985750d2fb30971b7427007754fe53ae65c107f7-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_4_f8b0aa6ddf98b664f34ca2aef4645331fded2107-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_3_bee32a93d7e6ae6186c8aae9b0d09d1cb48b25d1-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_2_e287f706b75fcf30f9f8acbc694a3f0e7008200d-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_1_2a82e4694281b0c4e480b1e20af1c9c1074d3b43-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-slice_0_c2f96fcc1a4ec7891e1ef75e45f149c53f973fe2-classes.dex", dex file "/data/data/com.myapp/files/instant-run/dex/slice-dependencies_66a9df8ffdd89fd1ab4c4f6b0b1923a379e92ce0-classes.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /vendor/lib, /system/lib]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can my library import another library in Android Studio?

    Stack Overflow | 11 months ago | german
    java.lang.NoClassDefFoundError: Failed resolution of: Lar/com/tally/mylibrary2/Class2;
  6. 0

    Could not dispatch event:class xxx to subscribing class

    GitHub | 10 months ago | about-bob
    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/xn/network/frame/_base/FrameType;
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.ClassNotFoundException

    Didn't find class "org.apache.http.entity.ContentType" on path: DexPathList[[dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-support-annotations-24.2.0_f3465f35ba4af4c2d28c6ee70c3e045c2eeb50a7-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-signalr-client-sdk_31f218879a3e501695cc773014efa2b96309ba8b-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-signalr-client-sdk-android_9ac6c75fc433d5053cb8f4baaf075be77ff080a9-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-net.gotev-uploadservice-2.1_2c1cea94bdc9eb3e8e9259ef14480ae4e93a8a89-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-24.2.0_f88755d908402b42bce774f931195b94097dcd23-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-24.2.0_b1513c66b0f7395a0d1a480c5d9e7610feba9993-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-24.2.0_a54c1e5a7bced7e81fab3aff91c3679ae60c76ef-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-24.2.0_460fbcae657ae69586227c7cdd69197470f7a011-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-24.2.0_318b533f27c268e47e239190dc0e3679ce16407b-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-internal_impl-22.0.0_abd26134702fe065270338b254592d1345086842-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-httpmime-4.3.1_138604929e9825b5f1d61e00fa3d052bdd42ee07-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-gson-2.2.2_dd1fd3287d2711d7941193e32d486f688b74a811-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-wearable-7.5.0_8bc4b86a60416c7425dbe185fba38279931f0335-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-wallet-7.5.0_4efd5a84b19b11d4c433540cf235021f2dde600a-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-safetynet-7.5.0_da536d78f5e4cb7af22bd8628a84eea7c432183f-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-plus-7.5.0_955016b9062dcfdf301396658c4fb8b8d50d2cda-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-panorama-7 10-11 13:58:54.183 15325-16388/zupportdesk.desk.zupport.chatsystem E/AndroidRuntime: .5.0_5ad6e21e07aea6aa605b0a5a3d1e8c7d0d9916e5-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-nearby-7.5.0_4d90a5fe7ec8604f44a91517b9706bb315df6f6f-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-maps-7.5.0_581db932c15b767090a5e5f802baaddefdfbcb69-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-location-7.5.0_63bae70f0b75fd08770c6904e2c5023145952809-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-identity-7.5.0_65fed345583e13065e8aecba0d614d6e8b08c804-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-gcm-7.5.0_9937f9cc346a5a9ce714e33d1c59a2888a8f0175-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-games-7.5.0_e28cc480cf7ff3ef1f7670efd2deb91360d6de7d-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-fitness-7.5.0_745c20df06971dabc41d92c75dc6f7e0deb9e89c-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-drive-7.5.0_e0d26e2ebfc31a98ef927fa8e6406f47dbddba72-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-cast-7.5.0_9e2bcce3e42366ea376a964a0275e31a18d26639-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-base-7.5.0_837427f2c67624d2b611e73aedf619eb9e7adcda-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-appstate-7.5.0_d24931de1d4f9d1b51add7807a0e7928d761d6ea-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-appinvite-7.5.0_8ea4359777577a9d26e2c76942d7eeb7115cbc5b-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-appindexing-7.5.0_e13e83bb97402b3808744bad8ba85dd20bfca24c-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-analytics-7.5.0_ff810a4f13c82ad0651bd19ea6b1f3f7509079b3-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.google.android.gms-play-services-ads-7.5.0_721a4a78ddacc95366f18f8565d3b30cd6fdf18b-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.balysv-material-ripple-1.0.2_deb9b61de945d67e79032c223e41546a0ad447c7-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-vector-drawable-24.2.0_a54a9f6fe7e8cb1731b3190a43cac8d85c588bf6-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-v4-24.2.0_c76293055897ca4fcab423bcb13d1cff84d22510-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-media-compat-24.2.0_9b309206adafc25f2f7eb40e80a02f096ba5eacd-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-fragment-24.2.0_31cea7222b602999c550da8c3517862a0e6dab6c-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-core-utils-24.2.0_e5f66c7d6ab2d7093b22eaac2d9901a3a0ed6c94-classes.dex", dex fi 10-11 13:58:54.214 15325-16388/zupportdesk.desk.zupport.chatsystem E/AndroidRuntime: le "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-core-ui-24.2.0_f971c230898c04a60891a5b65c3bcf595b771e02-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-support-compat-24.2.0_a7085c5673ade8185ff028973f38d4ef027644a7-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-recyclerview-v7-24.2.0_eeeee17220ba35dd6071f6329854feb74a32672d-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-mediarouter-v7-22.0.0_5b2554495e1a4a2428c8836ad086b43d046da6a8-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-design-24.2.0_024e7eb976d8157d6e7efa9de71089c42159bcb6-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-cardview-v7-24.2.0_9575e625779a52a14eae5bd3d3931d81b65e8586-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-appcompat-v7-24.2.0_422b025bd9c2dbb23e739516684717e9474b91e5-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-com.android.support-animated-vector-drawable-24.2.0_396d53bb3e16626f132b0f0628fec5980fb13370-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-br.com.liveo-navigationdrawer-material-2.5.1_50ba57259819ff85adaa100f90f5389530cf9d32-classes.dex", dex file "/data/data/zupportdesk.desk.zupport.chatsystem/files/instant-run/dex/slice-Java-WebSocket-1.3.0_485a7232d8572525d79567164b42d2d35fc50231-classes.dex"],nativeLibraryDirectories=[/data/app/zupportdesk.desk.zupport.chatsystem-1/lib/arm64, /system/lib64, /vendor/lib64]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. com.android.tools
    IncrementalClassLoader$DelegateClassLoader.findClass
    1. com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    2 frames
  5. Apache HttpClient Mime
    FileBody.<init>
    1. org.apache.http.entity.mime.content.FileBody.<init>(FileBody.java:89)
    1 frame
  6. zupportdesk.desk.zupport
    Chatting$UploadFileToServer.doInBackground
    1. zupportdesk.desk.zupport.chatsystem.Chatting$UploadFileToServer.uploadFile(Chatting.java:507)
    2. zupportdesk.desk.zupport.chatsystem.Chatting$UploadFileToServer.doInBackground(Chatting.java:483)
    3. zupportdesk.desk.zupport.chatsystem.Chatting$UploadFileToServer.doInBackground(Chatting.java:453)
    3 frames
  7. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:304)
    1 frame
  8. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  9. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    3. java.lang.Thread.run(Thread.java:761)
    3 frames