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

Testing and Deployment

Signing or Creating a Debug Token Silently Fails

by BlackBerry Development Advisor on ‎09-09-2013 11:24 AM - edited on ‎06-24-2014 09:38 AM by BlackBerry Development Advisor (2,464 Views)

Problem

 

Signing a BlackBerry® 10 application or creating a debug token silently fails on a computer using a non-English locale.  You may receive "Error: Null" or it may state that the command was successful.

 

Cause

 

The barsigner Java® application has a localization issue for some locales.

 

Resolution

 

Upgrade to BlackBerry Native SDK version 10.3 or higher.

 

Workaround

 

Locate the blackberry-signer script (blackberry-signer.bat on Windows® and blackberry-signer on Mac and Linux®) and blackberry-debugtokenrequest script (blackberry-debugtokenrequest.bat on Windows and blackberry-debugtokenrequest on Mac and Linux), which will be located in a sub directory of your BlackBerry SDK installation directory.  Open these two files in a text editor and change line:

 

java -Djava.awt.headless=true -Xmx512M …

To this:

 

java -Duser.language=en -Djava.awt.headless=true -Xmx512M …

 

Contributors
Comments
by New Developer on ‎06-24-2014 12:05 PM

Workaround works smoothly. Thanks :smileyhappy:

Users Online
Currently online: 25 members 1,092 guests
Please welcome our newest community members: