While I can't answer the original question, here is what I would recommend:

- Exclude LocalBroadcastManager from obfuscation
- Break down the statement where the crash happens into several more simple
ones, so you can tell where it goes wrong
- Monitor crash reports


   1. br.receivers.get(j).receiver.onReceive(mAppContext, br.intent);


change to:


   1. ArrayList<ReceiverRecord> receivers = br.receivers;
   2. ReceiverRecord record = receivers.get(j);
   3. BroadcastReceiver receiver = record.receiver;
   4. Intent intent = br.intent;
   5. receiver.onReceive(mAppContext, intent);


Maybe there are better ways, but that's what I would do...

-- K


2013/12/23 kevikev2020 <kkaw...@gmail.com>

> There are still exceptions of course but no more of the
> LocalBroadcastManager which was occurring the most out of all the
> exceptions reported by Google and Flurry.
>
>
> On Sunday, December 22, 2013 1:23:12 PM UTC-8, Jonathan S wrote:
>>
>> This doesn't explain much. Im sure you have more exceptions after that
>> one.
>>
>> On Sunday, December 22, 2013 7:14:06 AM UTC-5, kevikev2020 wrote:
>>>
>>> Sure, here it is.  Also attached a screenshot of the devices and OS.
>>>  Since adding try/catch in Hackborns code, I haven't seen one report of
>>> crash come in.
>>> java.lang.NullPointerException
>>> at android.support.v4.a.e.a(LocalBroadcastManager.java:297)
>>> at android.support.v4.a.e.a(LocalBroadcastManager.java:46)
>>> at android.support.v4.a.f.handleMessage(LocalBroadcastManager.java:116)
>>> at android.os.Handler.dispatchMessage(Handler.java:99)
>>> at android.os.Looper.loop(Looper.java:137)
>>> at android.app.ActivityThread.main(ActivityThread.java:4944)
>>> at java.lang.reflect.Method.invokeNative(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:511)
>>> at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
>>> ZygoteInit.java:1038)
>>> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
>>> at dalvik.system.NativeStart.main(Native Method)
>>>
>>> On Saturday, December 21, 2013 11:27:25 PM UTC-8, Dekra wrote:
>>>>
>>>> Which device and os version does it happen?
>>>> can you paste the exception?
>>>
>>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to