Related to : SMS messages just have "null"
Try this,
delete their contact
then
Settings > Applications > Manage Applications > Select the Messaging App
Choose 'Clear Data' and also 'Clear Cache'.
N.B. you will lose all data / txt msg's in your phone
(don't forget to write their number down to save as new afterwards!)
Answer from Blundell on Stack ExchangeRelated to : SMS messages just have "null"
Try this,
delete their contact
then
Settings > Applications > Manage Applications > Select the Messaging App
Choose 'Clear Data' and also 'Clear Cache'.
N.B. you will lose all data / txt msg's in your phone
(don't forget to write their number down to save as new afterwards!)
You could also check on http://www.google.com/contacts and check if the address book entry for that person is missing some information.
Hey everyone,
Today I was received 2 text messages from my number that just said "null." This was right after I sent 2 text messages which seemed to go through just fine. I was wondering if anyone knows what this means? I recently blocked a number, so I'm not sure if that is related.
Thanks in advance!
I found the problem. The android OS save the message as draft in SMS content provider, if start writing and then close the SMS app (due to incoming call or any other reason). This generate a new entry in SMS database with null value in 'address' column.
Salman
This is a normal behavior. Found in the SmsMessage documentation:
Returns the originating address (sender) of this SMS message in String form or null if unavailable
If your app breaks because of a NPE later, you should insert a null check and set the address to an empty string.
An advice: A question should asked something and you should provide a stack trace if you have an error.