Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 4
Registered: ‎09-04-2012
My Device: Curve 9300 and Playbook Tablet
My Carrier: Vodafone

Error while creating debug token for my playbook device

I followed that tutorial https://developer.blackberry.com/air/documentation/ww_air_testing/Create_a_debug_token_CMD_ms_196814...

 

and send for signed keys and got 2 csj files and when I wrote the cmd line to register the key

 

blackberry-debugtokenrequest -register -csjpin <PIN> -storepass <KeystorePassword> <DebugTokenCSJFile>

 

I threw exception in saying:

 

Exception in thread "main" java.lang.ExceptionInitializerError

         at net.rim.device.codesigning.keytool.KeyTool.if (Unknown Source)
         at net.rim.device.codesigning.keytool.KeyTool.a (Unknown Source)
         at net.rim.device.codesigning.keytool.KeyTool.main (Unknown Source)
         at net.rim.device.codesigning.barsigner.BarSigner.try (Unknown Source)
         at net.rim.device.codesigning.barsigner.BarSigner.a (Unknown Source)
         at net.rim.device.codesigning.barsigner.BarSigner.main (Unknown Source)
         at net.rim.device.codesigning.debugtoken.DebugTokenRequest.goto (Unknown Source)
         at net.rim.device.codesigning.debugtoken.DebugTokenRequest.for (Unknown Source)
         at net.rim.device.codesigning.debugtoken.DebugTokenRequest.if (Unknown Source)
         at net.rim.device.codesigning.debugtoken.DebugTokenRequest.main (Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name net.rim.device.codesigning.keytool.KeyToolMessages, local en_US

         at java.util.ResourceBundle.throwMissingResourceException (Unknown Source)
         at java.util.ResourceBundle.geetBundleImpl (Unknown Source)
         at java.util.ResourceBundle.getBundle (Unknown Source)
         at net.rim.device.codesigning.keybool.b.<clinit> (Unknown Source)

         .......10 more

 

So I don't know what to do ?? is there anybody know whats the problem

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Error while creating debug token for my playbook device

Are you executing the correct SDK? What path to the executable is being used?
Highlighted
New Contributor
Posts: 4
Registered: ‎09-04-2012
My Device: Curve 9300 and Playbook Tablet
My Carrier: Vodafone

Re: Error while creating debug token for my playbook device

I installed the sdk on that path (E:\Tools\PlayBook_AirSDK\blackberry-tablet-sdk-2.0.0) and I placed the csj file in the bin folder beside the blackberry-debugtokenrequest Smiley Sad so whats the problem

Contributor
Posts: 26
Registered: ‎11-16-2010
My Device: Not Specified

Re: Error while creating debug token for my playbook device

I'm also having the same issue. I would love to know how to get past it. I can't get the Simulator working. I can't get it to work on my Playbook. I'm about ready to give up on Blackberry dev...
Contributor
Posts: 26
Registered: ‎11-16-2010
My Device: Not Specified

Re: Error while creating debug token for my playbook device

Ok, after some trial and error, I replaced -storepass with -cskpass and that worked for me. I found that out by omitting parameters and letting the tool rather than outdated documentation tell me what parameters were needed.
New Contributor
Posts: 3
Registered: ‎11-09-2010
My Device: Playbook
My Carrier: None

Re: Error while creating debug token for my playbook device

Can someone from Blackberry Support group please change their documentation. 

 

Step 1 of this page says -storepass when it should be -cskpass

https://developer.blackberry.com/air/documentation/playbook/ww_air_testing/Create_a_debug_token_CMD_...