alanNMG / chrometophone

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

Chrome2phone App forced close right after receiving chrome2phone notification. #236

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please answer the questions about build version and network, will save
developers a lot of time !

What steps will reproduce the problem?
1. Running Chrome with extension installed and logged in.
2. Click on the Chrome2Phone icon at any web site 
3. On the phone, it receive a notification and immediately forced close message.

What is the expected output? Chrome2phone notification.
What do you see instead? Chrome2phone notification and immediately forced close.

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

Is the phone using WiFi or mobile network when problem occurs ? If Wifi,
are you behind a firewall that blocks outgoing connections ? Either one

Can you open "Gmail" application ? Do you see new messages without hitting
'refresh' ? Yes

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

Please provide any additional information below.

Original issue reported on code.google.com by tie...@gmail.com on 25 Oct 2010 at 4:37

GoogleCodeExporter commented 8 years ago
Never mind, I solved it by making sure chrome2phone app is install on the phone 
not on the SD card (I am using A2SD on CMMod ROM).

Original comment by tie...@gmail.com on 25 Oct 2010 at 4:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I reproduced this issue running Android 2.2.1 (CM 6.1) on Nexus One.
If no notification tone is set I see in adb logcat the following entries while 
the app force closes. If a notification tone is set everything works fine.

D/MediaPlayer( 4957): Couldn't open file on client side, trying server side
E/MediaPlayerService(  121): Couldn't open fd for 
content://settings/system/notification_sound
E/MediaPlayer( 4957): Unable to to create media player
E/RingtoneManager( 4957): Failed to open ringtone 
content://settings/system/notification_sound
W/dalvikvm( 4957): threadid=8: thread exiting with uncaught exception 
(group=0x4001d7e8)
E/AndroidRuntime( 4957): FATAL EXCEPTION: IntentService[stp.chrome@gmail.com]
E/AndroidRuntime( 4957): java.lang.NullPointerException
E/AndroidRuntime( 4957):        at 
com.google.android.apps.chrometophone.C2DMReceiver.playNotificationSound(C2DMRec
eiver.java:171)
E/AndroidRuntime( 4957):        at 
com.google.android.apps.chrometophone.C2DMReceiver.onMessage(C2DMReceiver.java:9
6)
E/AndroidRuntime( 4957):        at 
com.google.android.c2dm.C2DMBaseReceiver.onHandleIntent(C2DMBaseReceiver.java:10
7)
E/AndroidRuntime( 4957):        at 
android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:59)
E/AndroidRuntime( 4957):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4957):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4957):        at 
android.os.HandlerThread.run(HandlerThread.java:60)

Original comment by superjoj...@googlemail.com on 14 Dec 2010 at 6:13