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

Reply
New Contributor
amidos2006
Posts: 3
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

Please use plain text.
Developer
jtegen
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?
Please use plain text.
New Contributor
amidos2006
Posts: 3
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 :smileysad: so whats the problem

Please use plain text.
Contributor
turbidity
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...
Please use plain text.
Contributor
turbidity
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.
Please use plain text.
New Contributor
chrisaiv
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_...

 

Please use plain text.