java.lang.RuntimeException

An error occurred while executing doInBackground()


Solutions on the web18926

Solution icon of github
via GitHub by lanceschi
, 1 year ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by billmeek
, 6 months ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by viperfx
, 1 year ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by ZaidWaseem10
, 3 months ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by Nairou
, 11 months ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by philipwhiuk
, 7 months ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by bigbighill
, 4 months ago
An error occurred while executing doInBackground()

Solution icon of github
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by mikolasan
, 2 months ago
An error occurred while executing doInBackground()

Solution icon of github
via GitHub by Blystad
, 11 months 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: lejos.remote.ev3.RemoteRequestException: java.io.InvalidClassException: java.lang.ReflectiveOperationException; Incompatible class (SUID): java.lang.ReflectiveOperationException: static final long serialVersionUID =123456789L; but expected java.lang.ReflectiveOperationException: static final long serialVersionUID =2505831918131413020L; 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.grinninghermit.robotremote_test01.BasicActivity$Control.doInBackground(BasicActivity.java:81) at com.grinninghermit.robotremote_test01.BasicActivity$Control.doInBackground(BasicActivity.java:72) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more Caused by: java.io.InvalidClassException: java.lang.ReflectiveOperationException; Incompatible class (SUID): java.lang.ReflectiveOperationException: static final long serialVersionUID =123456789L; but expected java.lang.ReflectiveOperationException: static final long serialVersionUID =2505831918131413020L; at java.io.ObjectInputStream.verifyAndInit(ObjectInputStream.java:2336) at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1643) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:657) at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1663) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:657) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1782) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:761) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1983) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1940) at java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1113) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:454) at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1345) at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1242) at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1835) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:761) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1983) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1940) at lejos.remote.ev3.RemoteRequestSampleProvider.sendRequest(RemoteRequestSampleProvider.java:73) ... 10 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

3 times, 3 weeks ago
Once, 1 month ago
2 times, 2 months ago
3 times, 3 months ago
Once, 6 months ago
43 more bugmates