java.lang.RuntimeException

Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.downman.test (has extras) } in org.apache.cordova.backgroundDownload.BackgroundDownload$1@b119fd70


Samebug tips3

You have an empty cursor. Check your query if it is not expected, or handle empty cursor with if(cursor.getCount() > 0) ...

When you get a Cursor returned from the database you should do an moveToFirst(); before trying to get data from it.

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


Solutions on the web29371

Solution icon of github
via GitHub by janlem
, 7 months ago
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.downman.test (has extras) } in org.apache.cordova.backgroundDownload.BackgroundDownload$1@b119fd70

Solution icon of github
via GitHub by darthdie
, 7 months ago
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.ionicframework.myapp201347 (has extras) } in org.apache.cordova.backgroundDownload.BackgroundDownload$2@42b63d10

Solution icon of github
via GitHub by fredg02
, 4 months ago
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=se.bitcraze.crazyfliecontrol2 (has extras) } in se.bitcraze.crazyfliecontrol.bootloader.FirmwareDownloader$1@41ffb960

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.Red.medicalpaint (has extras) } in com.Red.Fragments.AppLibraryFragment$1@41a1f998

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.walintukai.lfdate (has extras) } in com.walintukai.lfdate.SocketIOService$1@42359f40

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.astech.android.webxbettingsystem (has extras) } in com.astech.android.webxbettingsystem.ui.activity.CheckAppUpdateActivity$1@1282c32

Solution icon of github
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.kamron.pogoiv (has extras) } in com.kamron.pogoiv.updater.DownloadUpdateService$1@c31af1c

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.id.imagedownloader (has extras) } in com.id.imagedownloader.MainActivity$1@41bc2aa8

Solution icon of github
via GitHub by jehy
, 7 months ago
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=ru.jehy.rutracker_free (has extras) } in ru.jehy.rutracker_free.updater.DownloadUpdateService$1@b326159

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.rostislav.dugin.reminderofwork (has extras) } in com.rostislav.dugin.reminderofwork.DownloadHelper$1@421f59d0

Stack trace

  • java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.downman.test (has extras) } in org.apache.cordova.backgroundDownload.BackgroundDownload$1@b119fd70 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0 at android.database.AbstractCursor.checkPosition(AbstractCursor.java:426) at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:136) at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:50) at android.database.CursorWrapper.getString(CursorWrapper.java:114) at android.database.CursorWrapper.getString(CursorWrapper.java:114) at android.app.DownloadManager$CursorTranslator.getString(DownloadManager.java:1318) at org.apache.cordova.backgroundDownload.BackgroundDownload$1.onReceive(BackgroundDownload.java:358) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768)

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

9 times, 5 months ago
Samebug visitor profile picture
Unknown user
2 times, 6 months ago
Once, 6 months ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
51 more bugmates