java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast

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 Stack Overflow by adnan_e

SMS Emulator caused this error. abortBroadcast() only works with broadcasts sent through Context.sendOrderedBroadcast().

Solutions on the web

via GitHub by renqingyou
, 1 year ago
BroadcastReceiver trying to return result during a non-ordered broadcast
via GitHub by renqingyou
, 1 year ago
BroadcastReceiver trying to return result during a non-ordered broadcast
via Stack Overflow by Mansukh Ahir
, 2 years ago
BroadcastReceiver trying to return result during a non-ordered broadcast
via Stack Overflow by crickpatel0024
, 2 years ago
BroadcastReceiver trying to return result during a non-ordered broadcast
via GitHub by ketann
, 1 year ago
BroadcastReceiver trying to return result during a non-ordered broadcast
via Stack Overflow by user123456
, 2 years ago
BroadcastReceiver trying to return result during a non-ordered broadcast
java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast
at android.content.BroadcastReceiver.checkSynchronousHint(BroadcastReceiver.java:785)
at android.content.BroadcastReceiver.setResult(BroadcastReceiver.java:660)
at com.google.android.gcm.GCMBroadcastReceiver.onReceive(GCMBroadcastReceiver.java:61)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2732)
at android.app.ActivityThread.access$1800(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1428)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)

Users with the same issue

Once, 4 months ago
3 times, 1 year ago
28 times, 1 year ago
14 times, 1 year ago
Once, 1 year ago
4 more bugmates

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