Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry Push Development

Reply
New Contributor
congkinh
Posts: 8
Registered: 01-20-2012
My Carrier: SFR

a little bit strange for sample-push-initiator

Hi everybody,

 

I'm using the example sample-push-initiator attached in BPSS, version 1.1.0.16. In fact, it had worked well before. I mean that I could send a message of Push from the servlet (sample-push-initiator) to the a real device Blackberry, and of course I then received it on the mobile phone BB. But, I don't understand what happens. Now, the servlet doesn't work.

 

When using a BB device to register to server Blackberry, I received a failed message: java.lang.Exception: Registration with Push API failed, caused by java.lang.IllegalStateException: no application instance.

 

In addition, when clicking on the button "Start General Push" of the servlet (sample-push-initiator), I received a message: Failed for: [(Id: push_all, Code: 2000)]. Could someone have any idea to solve my case?

 

Thanks in advance

Please use plain text.
Developer
massimo_olive
Posts: 234
Registered: 11-08-2010

Re: a little bit strange for sample-push-initiator

I am not sure why you are getting the first error on the device:

java.lang.Exception: Registration with Push API failed, caused by java.lang.IllegalStateException: no application instance.

 

The second one is probably because there are no active subscriptions?

Failed for: [(Id: push_all, Code: 2000)].

Please use plain text.
New Contributor
congkinh
Posts: 8
Registered: 01-20-2012
My Carrier: SFR

Re: a little bit strange for sample-push-initiator

Thank you for your response. I've found out that there is a problem with the mobile operator by which I use the Internet service 3G. When I tested with a well-working mobile operator, it was OK.

 

Definitely, the second one relates to that there are no active subscriptions.

Please use plain text.