java.lang.RuntimeException: An error occured 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

Samebug tips

,
via GitHub by forouher

You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.

,
Expert tip

The cursor might not be initalized.

Solutions on the web

via GitHub by galaxyfeeder
, 2 years ago
An error occured while executing doInBackground()
via GitHub by noamamiran
, 11 months ago
An error occured while executing doInBackground()
via GitHub by RoelRoel
, 2 years ago
An error occured while executing doInBackground()
via GitHub by LiquidSnack
, 2 years ago
An error occured while executing doInBackground()
via GitHub by nirabpudasaini
, 2 years ago
An error occured while executing doInBackground()
via GitHub by blueleader07
, 2 years ago
An error occured while executing doInBackground()
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.database.CursorWindow.nativeGetString(Native Method)
at android.database.CursorWindow.getString(CursorWindow.java:438)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
at android.database.CursorWrapper.getString(CursorWrapper.java:114)
at com.iceteck.silicompressorr.SiliCompressor.getRealPathFromURI(SiliCompressor.java:322)
at com.iceteck.silicompressorr.SiliCompressor.compressImage(SiliCompressor.java:163)
at com.iceteck.silicompressorr.SiliCompressor.compress(SiliCompressor.java:59)
at ground.project.com.undergroundproject.UploadPhotoActivity$ImageCompressionAsyncTask.doInBackground(UploadPhotoActivity.java:124)
at ground.project.com.undergroundproject.UploadPhotoActivity$ImageCompressionAsyncTask.doInBackground(UploadPhotoActivity.java:113)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
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.