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 tips

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


,
via Stack Overflow by Rejinderi

Solutions on the web

Solution icon of github
via GitHub by janlem
, 9 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 web
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 github
via GitHub by fredg02
, 6 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.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.id.imagedownloader (has extras) } in com.id.imagedownloader.MainActivity$1@41bc2aa8

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

Solution icon of github
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.example.app (has extras) } in com.example.app.data.remote.RxDownloader$DownloadStatusReceiver@424d99f0

Solution icon of github
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=org.nativescript.bohosluzbyapp (has extras) } in com.tns.gen.android.content.BroadcastReceiver_frnal_ts_helpers_l58_c38__BroadcastReceiver@41f5b9e8

Solution icon of stackoverflow
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=company.co.kr.urlupdater (has extras) } in company.co.kr.urlupdater.MainActivity$2@2184e240

Solution icon of github
via GitHub by eugenkiss
, 1 year ago
Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=anabolicandroids.chanobol.reallysfw (has extras) } in anabolicandroids.chanobol.util.ImageSaver$6@42efd008

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

21 times, 4 weeks ago
9 times, 7 months ago
Samebug visitor profile picture
Unknown user
2 times, 8 months ago
Once, 9 months ago
Once, 9 months ago
52 more bugmates