owios7 / android-sms

Automatically exported from code.google.com/p/android-sms
0 stars 0 forks source link

force close if manually back up after receive sms notification from mobile banking #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. receive sms notification from mobile banking
2. sms back up manually
3. app force close

What is the expected output? What do you see instead?
can back up sms notification from mobile banking. Deleting the mobile 
banking notification sms allows sms backup to backup normally

What version of the product are you using? On what operating system?
1.1.1 on android 2.1 nexus one

Please provide any additional information below.
Deleting the mobile banking notification sms allows sms backup to backup 
normally

Original issue reported on code.google.com by albertus...@gmail.com on 23 Apr 2010 at 2:46

GoogleCodeExporter commented 8 years ago
I had probably the same error.
android-sms backuped many sms until it reached a specific one.

Sadly I lost the full stacktrace, but the error was something like

java.lang.IllegalArgumentException: Unknown URL 
content://contacts/phones/filter/1/2

on line 180 of the CursorToMessage class in the lookupPerson() method.

surrounding it with a try and catch block fixed it for me. See the attached 
patch.

Original comment by imsan...@gmail.com on 22 Nov 2010 at 7:35

Attachments: