vinniejain / chrometophone

Automatically exported from code.google.com/p/chrometophone
0 stars 1 forks source link

Crome to Phone App. crashed with java.lang.ClassCastException when clicking "Next" in the account selection UI #521

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install "Chrome to Phone"
2. Select any of my GMail account
3. Click "Next"

What is the expected output? 
Normal operation

What do you see instead?
Crashed with java.lang.ClassCastException: android.text.SpannableString cannot 
be cast to java.lang.String

Screenrecord uploaded to following address:
http://youtu.be/_xTVHRE8eWg

What version of the android, in Settings -> About phone -> Build number (
ex. FRFxx ) ? If less than FRF50 - see the FAQ.
KTU84P

Is the phone using WiFi or mobile network when problem occurs ?
WiFi

If Wifi,
are you behind a firewall that blocks outgoing connections ?
So far no.

Can you open "Gmail" application ? Do you see new messages without hitting
'refresh' ?
Currently not tested

Can you open "Talk" application ? Do you see incoming chats ?
Yes

Please provide any additional information below.
### Stacktrace
E/AndroidRuntime(22002): FATAL EXCEPTION: main
E/AndroidRuntime(22002): Process: com.google.android.apps.chrometophone, PID: 
22002
E/AndroidRuntime(22002): java.lang.ClassCastException: 
android.text.SpannableString cannot be cast to java.lang.String
E/AndroidRuntime(22002):        at 
com.google.android.apps.chrometophone.SetupActivity$4.onClick(SetupActivity.java
:191)
E/AndroidRuntime(22002):        at 
android.view.View.performClick(View.java:4438)
E/AndroidRuntime(22002):        at 
android.view.View$PerformClick.run(View.java:18422)
E/AndroidRuntime(22002):        at 
android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime(22002):        at 
android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(22002):        at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(22002):        at 
android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime(22002):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(22002):        at 
java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(22002):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime(22002):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime(22002):        at 
de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime(22002):        at dalvik.system.NativeStart.main(Native Method)

### Locale
zh_TW

Original issue reported on code.google.com by Vdragon....@gmail.com on 25 Aug 2014 at 6:05