[YU Yureka Original Android Development] chiragjn:
Bug report:

com.android.phone has stopped working

Sim is detected for a second and then the phone process crashes

Logcat

12-06 22:33:20.787: E/Telecom(1025): : getUserSelectedOutgoingPhoneAccount
12-06 22:33:20.787: E/Telecom(1025): java.lang.NumberFormatException: Invalid long: "89910397390154602114"
12-06 22:33:20.787: E/Telecom(1025):	at java.lang.Long.invalidLong(Long.java:124)
12-06 22:33:20.787: E/Telecom(1025):	at java.lang.Long.parse(Long.java:366)
12-06 22:33:20.787: E/Telecom(1025):	at java.lang.Long.parseLong(Long.java:353)
12-06 22:33:20.787: E/Telecom(1025):	at java.lang.Long.parseLong(Long.java:321)
12-06 22:33:20.787: E/Telecom(1025):	at com.android.server.telecom.PhoneAccountRegistrar.getUserSelectedVoicePhoneAccount(PhoneAccountRegistrar.java:245)
12-06 22:33:20.787: E/Telecom(1025):	at com.android.server.telecom.PhoneAccountRegistrar.getUserSelectedOutgoingPhoneAccount(PhoneAccountRegistrar.java:226)
12-06 22:33:20.787: E/Telecom(1025):	at com.android.server.telecom.TelecomServiceImpl$1.getUserSelectedOutgoingPhoneAccount(TelecomServiceImpl.java:102)
12-06 22:33:20.787: E/Telecom(1025):	at com.android.internal.telecom.ITelecomService$Stub.onTransact(ITelecomService.java:82)
12-06 22:33:20.787: E/Telecom(1025):	at android.os.Binder.execTransact(Binder.java:453)
12-06 22:33:20.789: E/AndroidRuntime(5935): FATAL EXCEPTION: main
12-06 22:33:20.789: E/AndroidRuntime(5935): Process: com.android.phone, PID: 5935
12-06 22:33:20.789: E/AndroidRuntime(5935): java.lang.IllegalArgumentException: Invalid long: "89910397390154602114"
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.os.Parcel.readException(Parcel.java:1603)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.os.Parcel.readException(Parcel.java:1552)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.internal.telecom.ITelecomService$Stub$Proxy.getUserSelectedOutgoingPhoneAccount(ITelecomService.java:640)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.telecom.TelecomManager.getUserSelectedOutgoingPhoneAccount(TelecomManager.java:462)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.services.telephony.TelecomAccountRegistry.setupAccounts(TelecomAccountRegistry.java:466)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.services.telephony.TelecomAccountRegistry.-wrap0(TelecomAccountRegistry.java)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.services.telephony.TelecomAccountRegistry$1.onSubscriptionsChanged(TelecomAccountRegistry.java:283)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.telephony.SubscriptionManager$OnSubscriptionsChangedListener$1.handleMessage(SubscriptionManager.java:386)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.os.Handler.dispatchMessage(Handler.java:102)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.os.Looper.loop(Looper.java:148)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at android.app.ActivityThread.main(ActivityThread.java:5417)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at java.lang.reflect.Method.invoke(Native Method)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
12-06 22:33:20.789: E/AndroidRuntime(5935):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)