BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-24-2012, 06:03 AM   #1
annuk
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
Question Argument is not nullable while using pish.openListener

Please Login to Remove!

Hi ,



I am trying to register my device to blackberry server using:



blackberry.push.openBISPushListener(ops, this.onData, this.onRegister, this.onSimChange);



But i get the following error: Argument is not nullable



My code is as follows:



registerForNotifications : function() {

try {
var ops = {
port : NotificationConstants.bbPort,
appId : NotificationConstants.bbAppId,
serverUrl : NotificationConstants.bbServerUrl,
wakeUpPage : 'push.htm',
maxQueueCap : NotificationConstants.bbMax


};

console.log("BB PORT "+NotificationConstants.bbPort)
blackberry.push.openBISPushListener(ops, this.onData, this.onRegister, this.onSimChange);
} catch (err) {
alert('openBisError ' + err);
}




Where am i going wrong?

Thanks in advance.



Annuk.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Argument is not nullable while using pish.openListener
Thread Thread Starter Forum Replies Last Post
illegal argument message dingbat General 8900 Series Discussion - Javelin 2 02-16-2010 09:08 PM
Anyone got a good prepared argument AGAINST content protection? Jim Galbally BES Admin Corner 19 12-18-2008 01:38 AM
javascript illegal argument chris280 General 8100 Series Discussion - Pearl 1 07-18-2007 11:44 PM
Alert gives illegal argument exception on 7100. guantana General Legacy Device Discussion 0 07-21-2006 11:35 PM
web not loading pics--illegal argument exception piglet General BlackBerry Discussion 3 02-21-2005 01:24 AM


IBM  oem Manual Selectric 2000 Quietwriter Typewriter 6750 / 6750-2 Operators picture

IBM oem Manual Selectric 2000 Quietwriter Typewriter 6750 / 6750-2 Operators

$25.00



Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM picture

Lot of 2 IBM Correctable Ribbon Cassette Black 1299300 NOS Original OEM

$12.00



New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks picture

New 2 Sets of 2 (4) keys total OEM 9952 IBM Keys for Cash Drawers Displays Locks

$14.99



IBM Correcting OEM Selectric Motor Assembly + ON/OFF Switch & Cord works *Video* picture

IBM Correcting OEM Selectric Motor Assembly + ON/OFF Switch & Cord works *Video*

$28.88



IBM WHEELWRITER TYPEWRITER TRANSPORT MOTOR Series II - OEM wheelwriter parts picture

IBM WHEELWRITER TYPEWRITER TRANSPORT MOTOR Series II - OEM wheelwriter parts

$28.00



OEM  IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working picture

OEM IBM Type 5441 WheelWriter 3 1356658 1362400-02 Main Boards Tested Working

$49.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.