Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem with C2DM
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex  
View profile  
 More options Aug 11 2010, 6:06 am
From: Alex <alexandre.dal...@gmail.com>
Date: Wed, 11 Aug 2010 03:06:22 -0700 (PDT)
Local: Wed, Aug 11 2010 6:06 am
Subject: Problem with C2DM
Hi,

I'm having a problem with C2DM,

It may be related to the fact that the sender email for C2DM that I
use is the same of the receiver google email, can this be the
problem ?

StackTrace following,

Thanks in advance,

Alex.

E/TalkProvider(  550): query db caught
E/TalkProvider(  550): java.lang.IllegalArgumentException: the bind
value at index 2 is null
E/TalkProvider(  550):  at
android.database.sqlite.SQLiteProgram.bindString(SQLiteProgram.java:
234)
E/TalkProvider(  550):  at
android.database.sqlite.SQLiteQuery.bindString(SQLiteQuery.java:182)
E/TalkProvider(  550):  at
android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDr iver.java:
48)
E/TalkProvider(  550):  at
android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.j ava:
1345)
E/TalkProvider(  550):  at
android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:
330)
E/TalkProvider(  550):  at
com.google.android.gsf.talk.TalkProvider.queryInternal(TalkProvider.java:
1740)
E/TalkProvider(  550):  at
com.google.android.gsf.talk.TalkProvider.query(TalkProvider.java:1436)
E/TalkProvider(  550):  at android.content.ContentProvider
$Transport.query(ContentProvider.java:163)
E/TalkProvider(  550):  at
android.content.ContentResolver.query(ContentResolver.java:245)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.DatabaseHelper.getOffTheRecordCursor(Da tabaseHelper.java:
756)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.ChatSession.queryOtrCursor(ChatSession. java:
206)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.ChatSession.<init>(ChatSession.java:
168)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.createChatSession(ChatMgr.java:
264)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.processIncomingMessage(ChatMgr. java:
721)
E/TalkProvider(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.processPacket(ChatMgr.java:
521)
E/TalkProvider(  550):  at org.jivesoftware.smack.PacketReader
$ListenerWrapper.notifyListener(PacketReader.java:1860)
E/TalkProvider(  550):  at
org.jivesoftware.smack.PacketReader.processListeners(PacketReader.java:
451)
E/TalkProvider(  550):  at org.jivesoftware.smack.PacketReader.access
$200(PacketReader.java:91)
E/TalkProvider(  550):  at org.jivesoftware.smack.PacketReader
$3.run(PacketReader.java:154)
E/Smack/Packet(  550): [PacketReader] listenerThread: caught exception
E/Smack/Packet(  550): notify conn error. close connection!
E/Smack/Packet(  550): java.lang.NullPointerException
E/Smack/Packet(  550):  at
com.google.android.gsf.gtalkservice.ChatSession.queryOtrCursor(ChatSession. java:
208)
E/Smack/Packet(  550):  at
com.google.android.gsf.gtalkservice.ChatSession.<init>(ChatSession.java:
168)
E/Smack/Packet(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.createChatSession(ChatMgr.java:
264)
E/Smack/Packet(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.processIncomingMessage(ChatMgr. java:
721)
E/Smack/Packet(  550):  at
com.google.android.gsf.gtalkservice.ChatMgr.processPacket(ChatMgr.java:
521)
E/Smack/Packet(  550):  at org.jivesoftware.smack.PacketReader
$ListenerWrapper.notifyListener(PacketReader.java:1860)
E/Smack/Packet(  550):  at
org.jivesoftware.smack.PacketReader.processListeners(PacketReader.java:
451)
E/Smack/Packet(  550):  at org.jivesoftware.smack.PacketReader.access
$200(PacketReader.java:91)
E/Smack/Packet(  550):  at org.jivesoftware.smack.PacketReader
$3.run(PacketReader.java:154)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Costin Manolache  
View profile  
 More options Aug 11 2010, 9:57 am
From: Costin Manolache <cos...@gmail.com>
Date: Wed, 11 Aug 2010 06:57:38 -0700
Local: Wed, Aug 11 2010 9:57 am
Subject: Re: Problem with C2DM

Please include phone and software version with all bug descriptions, and
more informations
about what you did, what worked, where it broke.

You shouldn't have any problems with having the sender the same as the
receiver.

Costin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex  
View profile  
 More options Aug 11 2010, 10:04 am
From: Alex <alexandre.dal...@gmail.com>
Date: Wed, 11 Aug 2010 07:04:55 -0700 (PDT)
Local: Wed, Aug 11 2010 10:04 am
Subject: Re: Problem with C2DM
Hi Costin,

Thanks for answering, and sorry for the lack of info. I use a Nexus
One FRF91, The test I'm doing is the following:
  - I've implemented registration to C2DM services as documented by
google,

On Aug 11, 3:57 pm, Costin Manolache <cos...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex  
View profile  
 More options Aug 11 2010, 10:10 am
From: Alex <alexandre.dal...@gmail.com>
Date: Wed, 11 Aug 2010 07:10:05 -0700 (PDT)
Local: Wed, Aug 11 2010 10:10 am
Subject: Re: Problem with C2DM
Sorry, sent uncomplete (Tab / Enter typed to fast to indent the text
in the text entry...) so I repeat:

   - I've implemented registration to C2DM services as documented by
google
   - Once the registration id is received from Android intent, send
the registration identifier to my personal server.
   - A webservice on my personal server that gets the auth token sent
by the phone, and sends a test message through the documented C2DM
interface, I get a message id back, so from that point of view it does
work.

   - When I try this procedure with a friend's phone, it does work
(not my gmail id)
   - When I try same procedure with my phone, I have the mentioned
Exception.

Hope that will help in understanding what's happening,

Alex.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Costin Manolache  
View profile  
 More options Aug 11 2010, 10:14 am
From: Costin Manolache <cos...@gmail.com>
Date: Wed, 11 Aug 2010 07:14:45 -0700
Local: Wed, Aug 11 2010 10:14 am
Subject: Re: Problem with C2DM

Thanks for the info, I'll try to duplicate - looks like you do have a
workaround for now,
I'll file a bug on sender == receiver case.

Costin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »