HenriDellal / emerald-dialer

Lightweight dialer with T9 search
GNU General Public License v3.0
92 stars 21 forks source link

Fix NullPointerException on contacts filtering #1

Closed HenriDellal closed 5 years ago

HenriDellal commented 5 years ago

As can be seen from the GP logs, the application crashes on T9 search. See ContactsEntryAdapter, lines 269, 103. The regexQueryResults field is null in getCount even though the filter submits results to it before the notifyDataSetChanged method is called. Sadly I can't reproduce it, so if someone has encountered this bug, please tell me when exactly it happens and under which conditions.

fdelapena commented 5 years ago

Hi, thanks for the app.

I'm not sure if it is the same bug, but I am able to reproduce it here always:

Tap on Voice Mail in speed dial crashes. That is probably because the Voice Mail number is unset in my case.

Tested with 1.0.1 on LG with Android 6.0.1.

HenriDellal commented 5 years ago

Hello. Thank you for mentioning another bug. It's not related to this one, but very helpful still. It appears that the app needs another permission to read/write voice mail settings.