BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-24-2012, 06:03 AM   #1 (permalink)
New Member
 
Join Date: Sep 2012
Model: 7100T
PIN: N/A
Carrier: reliance
Posts: 6
Post Thanks: 1
Thanked 0 Times in 0 Posts
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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

Robertson SS2PWS Fluorescent 120V Ballast for (1) FC6T9 or FC8T9 Circline Lamp
$19.99
Robertson SS2PWS Fluorescent 120V Ballast for (1) FC6T9 or FC8T9 Circline Lamp pictureUniversal 446-L-SLH-TC-P Fluorescent Ballast for (2) F40T12 /U F40T10 Lamps
$27.99
Universal 446-L-SLH-TC-P Fluorescent Ballast for  (2) F40T12 /U F40T10 Lamps  pictureMagnetek 806-SLH-TC-P Fluorescent Ballast for (2) F96T12 /ES F84T12 F72T12 Lamps
$44.99
Magnetek 806-SLH-TC-P Fluorescent Ballast for (2) F96T12 /ES F84T12 F72T12 Lamps pictureAC ELECTRONICS CSS-UV42PBMS 26 Watt T4 Elect. Ballast
$26.82
AC ELECTRONICS CSS-UV42PBMS 26 Watt T4 Elect. Ballast pictureLot of 7 Rapid Start Compact Fluorescent Ballast Ecosystem Philips Lutron
$9.99
Lot of 7 Rapid Start Compact Fluorescent Ballast  Ecosystem Philips  Lutron picture






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