java.lang.RuntimeException

An error occured while executing doInBackground()

Samebug tips1

You need to setup a GlideModule before use Glide.

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

Solutions on the web2751

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) at java.util.concurrent.FutureTask.setException(FutureTask.java:219) at java.util.concurrent.FutureTask.run(FutureTask.java:239) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:841) Caused by: lejos.remote.ev3.RemoteRequestException: java.lang.ClassNotFoundException: java.lang.ReflectiveOperationException at lejos.remote.ev3.RemoteRequestSampleProvider.sendRequest(RemoteRequestSampleProvider.java:78) at lejos.remote.ev3.RemoteRequestSampleProvider.<init>(RemoteRequestSampleProvider.java:23) at lejos.remote.ev3.RemoteRequestEV3.createSampleProvider(RemoteRequestEV3.java:152) at com.example.ev3.MainActivity$Control.doInBackground(MainActivity.java:143) at com.example.ev3.MainActivity$Control.doInBackground(MainActivity.java:131) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) ... 4 more Caused by: java.lang.ClassNotFoundException: java.lang.ReflectiveOperationException at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:204) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:2304) at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1663) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:683) at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1685) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:683) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1806) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2006) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1963) at java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1140) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455) at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1372) at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1269) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1858) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2006) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1963) at lejos.remote.ev3.RemoteRequestSampleProvider.sendRequest(RemoteRequestSampleProvider.java:73) ... 10 more Caused by: java.lang.NoClassDefFoundError: java/lang/ReflectiveOperationException ... 30 more Caused by: java.lang.ClassNotFoundException: Didn't find class "java.lang.ReflectiveOperationException" on path: DexPathList[[zip file "/data/app/com.example.ev3-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.ev3-1, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) ... 30 more

    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

    iridiciridic
    2 times, last one
    NedGr8NedGr8
    Once,
    Stefan BrauneStefan Braune
    Once,
    ashish.sadhwaniashish.sadhwani
    1066 times, last one
    Chandan JhaChandan Jha
    2 times, last one
    158 more bugmates