My app sent home this stack trace which seems as though something very wrong is going on under the hood.
phone_model=SKY IM-A630K, android_version=2.1-update1
java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10089 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1218)
at android.os.Parcel.readException(Parcel.java:1206)
at com.android.internal.telephony.IPhoneSubInfo$Stub$Proxy.getLine1Number(IPhoneSubInfo.java:223)
at android.telephony.TelephonyManager.getLine1Number(TelephonyManager.java:764)
at android.telephony.SmsManager.sendTextMessage(SmsManager.java:129)
at android.telephony.SmsManager.sendTextMessage(SmsManager.java:108)
at com.emergency.button.SMSSender.safeSendSMS(SMSSender.java:91)
at com.emergency.button.EmergencyActivity$EmergencyThread.sendSMS(EmergencyActivity.java:294)
at com.emergency.button.EmergencyActivity$EmergencyThread.sendMessages(EmergencyActivity.java:386)
at com.emergency.button.EmergencyActivity$EmergencyThread.run(EmergencyActivity.java:266)
So should I just catch any and all exceptions around sendTextMessage? Who's fault is this?