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

Solutions on the web

via GitHub by Naetmul
, 1 year ago
An error occured while executing doInBackground()
via GitHub by moxie0
, 1 year ago
An error occured while executing doInBackground()
via GitHub by tomxor
, 1 year ago
An error occured while executing doInBackground()
via GitHub by dschuermann
, 2 years ago
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.cyanogenmod.eleven.locale.LocaleUtils$LocaleUtilsBase.getBucketIndex(LocaleUtils.java:131)
at com.cyanogenmod.eleven.locale.LocaleUtils.getBucketIndex(LocaleUtils.java:466)
at com.cyanogenmod.eleven.provider.LocalizedStore.updateAlbumData(LocalizedStore.java:293)
at com.cyanogenmod.eleven.provider.LocalizedStore.updateLocalizedStore(LocalizedStore.java:252)
at com.cyanogenmod.eleven.provider.LocalizedStore.addIds(LocalizedStore.java:521)
at com.cyanogenmod.eleven.provider.LocalizedStore.updateDiscrepancies(LocalizedStore.java:469)
at com.cyanogenmod.eleven.provider.LocalizedStore.getLocalizedSort(LocalizedStore.java:442)
at com.cyanogenmod.eleven.loaders.SongLoader.makeSongCursor(SongLoader.java:206)
at com.cyanogenmod.eleven.loaders.SongLoader.makeSongCursor(SongLoader.java:162)
at com.cyanogenmod.eleven.loaders.SongLoader.getCursor(SongLoader.java:134)
at com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:80)
at com.cyanogenmod.eleven.loaders.SongLoader.loadInBackground(SongLoader.java:40)
at com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:69)
at com.cyanogenmod.eleven.sectionadapter.SectionCreator.loadInBackground(SectionCreator.java:30)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:242)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:51)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:40)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception.

Write tip

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