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.
The barsigner Java® application has a localization issue for some locales.
Upgrade to BlackBerry Native SDK version 10.3 or higher.
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 …
java -Duser.language=en -Djava.awt.headless=true -Xmx512M …