Closed frapontillo closed 10 years ago
The problem has started occuring since 2.2.4, that is since the introduction of the sharing function.
It should be related to some PendingIntent
being null
or somehow invalid.
See http://stackoverflow.com/questions/6060181/android-widget-null-pointer-exception-when-using-setonclickpendingintent-on and http://www.blogosfera.co.uk/2013/09/unable-to-start-receiver-crash-for-widgets-on-android-4-0-4-device/.
UPDATE:
This is the same issue as #105, that wasn't solved by 20468927e0bd1fedd8bc7905e709381ce63a18bc. Besides the refresh PendingIntent, there is the "share" PendingIntent
as well.
Since it looks like there's no way to avoid the bug, we can either opt to:
PendingIntent
, just like you did in 20468927e0bd1fedd8bc7905e709381ce63a18bcThis needs to be fixed ASAP.
I'd probably just hide the share button when we don't have data. Simple and makes perfect sense.
That'd be a valid option as well.
Then go for it :)
And then hell broke loose. As of 2.2.9 we are receiving plenty of NPEs:
The affected devices are (wait for it... wait for it...) Samsung:
We have also received 1-star feedbacks (...) and several emails of people who complained the widget always crashes.