It's not possible to load a new profile from the local provisioning tool when
the RCS service is not activated/started.
See the following exception:
05-13 09:44:37.006: E/AndroidRuntime(17096): FATAL EXCEPTION: main
05-13 09:44:37.006: E/AndroidRuntime(17096): Process: com.gsma.rcs, PID: 17096
05-13 09:44:37.006: E/AndroidRuntime(17096):
java.lang.IllegalArgumentException: Context is null
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.services.rcs.contact.ContactUtil.getInstance(ContactUtil.java:386)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.rcs.utils.ContactUtil.createContactIdFromTrustedData(ContactUtil.java:1
26)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.rcs.provider.settings.RcsSettings.getUserProfileImsUserName(RcsSettings
.java:321)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.rcs.provisioning.local.ProfileProvisioning.loadProfile(ProfileProvision
ing.java:361)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.rcs.provisioning.local.ProfileProvisioning.access$1(ProfileProvisioning
.java:357)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.gsma.rcs.provisioning.local.ProfileProvisioning$2.onClick(ProfileProvisionin
g.java:304)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.view.View.performClick(View.java:4754)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.view.View$PerformClick.run(View.java:19605)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.os.Handler.handleCallback(Handler.java:733)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.os.Handler.dispatchMessage(Handler.java:95)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.os.Looper.loop(Looper.java:146)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
android.app.ActivityThread.main(ActivityThread.java:5752)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
java.lang.reflect.Method.invokeNative(Native Method)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
java.lang.reflect.Method.invoke(Method.java:515)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
05-13 09:44:37.006: E/AndroidRuntime(17096): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by jmauffret@gmail.com on 13 May 2015 at 8:10
Original issue reported on code.google.com by
jmauffret@gmail.com
on 13 May 2015 at 8:10