If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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

Native Development

Reply
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Can't Create Debug Token, So Frustrated

I noticed that in the very first screenshot, you are showing you bbidtoken.csk placed in:


C:\Kullanıcılar\Burak\AppData\Local\Research In Motion\

 

But everywhere else you are using directory:


C:\Users\Burak\AppData\Local\Research In Motion\

 

Where does %HOMEPATH% map to on your computer?  Or is this two different machines?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
My Carrier: Turkcell

Re: Can't Create Debug Token, So Frustrated

No, it is the same computer. "Kullancılar" means Users in Turkish, and the Windows File Explorer displays the directory as "Kullanıcılar". However, in command prompt, it is displayed as Users. %HOMEPATH% equals to \Users\Burak

 

Adsız.png

 

 

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Can't Create Debug Token, So Frustrated

Can you try:

 

C:\Users\Burak\AppData\Local\Research In Motion>blackberry-debugtokenrequest -verbose  -storepass XXXXX -deviceid 0x24F1FC57 dt.bar

 

Basically not specifying the location of the BlackBerry ID token.  Ensure the token is in the c:\User\Burak\AppData\Local\Research In Motion directory.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
My Carrier: Turkcell

Re: Can't Create Debug Token, So Frustrated

[ Edited ]

Sure:

 

C:\Users\Burak\AppData\Local\Research In Motion>dir
 Volume in drive C is OS
 Volume Serial Number is DE4E-DB83

 Directory of C:\Users\Burak\AppData\Local\Research In Motion

20.08.2013  18:50    <DIR>          .
20.08.2013  18:50    <DIR>          ..
20.08.2013  15:32               881 author.p12
20.08.2013  15:32                 0 barsigner.db
20.08.2013  15:32             1.023 bbidtoken.csk
20.08.2013  17:17             3.243 bbt_id_rsa
20.08.2013  17:17               726 bbt_id_rsa.pub
20.08.2013  15:00    <DIR>          BlackBerry 10 Desktop
20.08.2013  10:58    <DIR>          BlackBerry Native SDK
               5 File(s)          5.873 bytes
               4 Dir(s)  26.701.627.392 bytes free

C:\Users\Burak\AppData\Local\Research In Motion>blackberry-debugtokenrequest -ve
rbose  -storepass XXXXXX -deviceid 0x24F1FC57 dt.bar
Developer Certificate TBS =
30 81 cc a0 03 02 01 02 02 11 00 db d2 4f dd a5
ad b9 55 28 f1 21 94 49 97 ac d2 30 0c 06 08 2a
86 48 ce 3d 04 03 04 05 00 30 14 31 12 30 10 06
03 55 04 03 0c 09 42 75 72 61 6e 73 6f 66 74 30
1e 17 0d 31 33 30 38 32 30 31 32 33 32 30 31 5a
17 0d 33 33 30 38 31 35 31 32 33 32 30 31 5a 30
14 31 12 30 10 06 03 55 04 03 0c 09 42 75 72 61
6e 73 6f 66 74 30 58 30 10 06 07 2a 86 48 ce 3d
02 01 06 05 2b 81 04 00 23 03 44 00 03 01 5a 1e
b6 1d 75 2d f9 fa b1 e8 20 f2 89 5d 41 a4 4c 5d
1a 8f bf 63 df bd 0b 90 79 e5 2d 68 9f a1 60 be
ec 0e a9 53 fe 33 de 7f b0 c7 83 76 13 1c bb aa
53 64 14 dc 69 93 05 16 21 16 8e 48 f6 ba 5a
Developer Certificate TBS Digest =
78 57 b2 cc 59 b8 65 f6 0f 75 54 d6 8d e4 a9 72
86 2e 25 b7 7c 06 97 05 25 6d 96 ed e5 5a 7e ce
78 55 cc 66 1c fd 1e 16 9d d4 9d b1 d8 5c d9 71
fc 2a b7 6d ef 86 ca b5 68 3a 0d af 62 a8 6c 04
Developer Certificate TBS Encoded Digest =
65 46 65 79 7a 46 6d 34 5a 66 59 50 64 56 54 57
6a 65 53 70 63 6f 59 75 4a 62 64 38 42 70 63 46
4a 57 32 57 37 65 56 61 66 73 35 34 56 63 78 6d
48 50 30 65 46 70 33 55 6e 62 48 59 58 4e 6c 78
5f 43 71 33 62 65 2d 47 79 72 56 6f 4f 67 32 76
59 71 68 73 42 41
Requesting signature from server...
HMAC =
a7 05 73 6e 32 7f ea 5f 33 01 ac 0b d7 91 45 83
d6 d8 99 ba 95 75 a1 57 e2 ce fd 66 bc 61 fd a7
Properties of request := [
Version = 2
Command = Signature Request
SignerID = PBDT
Token = AQ:FqOC40Q7uhQZBwNbLAeLQSyYTFqSRQKDOnt8Ww22k10:cMXEUjAlUoX_80YqjfB3UA:Fn
ZYalHF1L5nY-7eJRE0ZXmNkGDTOQp9Qv6i7lkaQHDkMnPlUgTK0eSfpw4lPK3SOQg5PY-ZkruheJ2lVl
kyovKAutbln4jlGCVD8RQpmh33Kw99qgFzyG8M3vPrL_CaAzRMJI7nV506d1A3KRItPnkfYDskiMYxJt
kuJ9MHfoXWQKfUbhcw5CZPyYtkjIA-eLjec6Wn5swbHl2MCpRaYsF5HEVNCyvhIUQyKrf8_ABQdFCtpm
pOqofr9h_b4inWPuprpMVQm16dWf2heXZwk2pBeA7sT8uoQ7MzOcb5wmNB2bvVPjxw9WlASGMQdltv64
T8kbHw6U0xQ6YClmusBuYaupXq50xY96BbA7HLko2Kelpo-AiGHfO9S3FB2iCu3OIpRN6U-tSXKqcdTe
9diBUatpEiuXjah1q9Gb6yAGATrtgJxi3QmdmmYYBvGhJIlKQorSOrUbeAEl7XG7E3H6dTWdADGIYwVA
qkhVY5ej4
MF =
51 58 4a 6a 61 47 6c 32 5a 53 31 4e 59 57 35 70
5a 6d 56 7a 64 43 31 57 5a 58 4a 7a 61 57 39 75
4f 69 41 78 4c 6a 49 4e 43 6b 46 79 59 32 68 70
64 6d 55 74 51 33 4a 6c 59 58 52 6c 5a 43 31 43
65 54 6f 67 51 6d 78 68 59 32 74 43 5a 58 4a 79
65 53 42 43 51 56 49 67 55 47 46 6a 61 32 46 6e
5a 58 49 67 64 6a 45 75 4e 69 34 79 44 51 6f 4e
43 6c 42 68 59 32 74 68 5a 32 55 74 51 58 56 30
61 47 39 79 4f 69 42 43 64 58 4a 68 62 6e 4e 76
5a 6e 51 4e 43 6c 42 68 59 32 74 68 5a 32 55 74
51 58 56 30 61 47 39 79 4c 55 6c 6b 4f 69 42 69
59 6d 4a 69 59 6d 4a 69 59 6d 4a 69 59 6d 4a 69
59 6d 4a 69 59 6d 4a 69 59 6d 4a 69 59 6d 4a 69
59 6d 49 4e 43 6c 42 68 59 32 74 68 5a 32 55 74
54 6d 46 74 5a 54 6f 67 5a 47 56 69 64 57 63 75
64 47 39 72 5a 57 34 4e 43 6c 42 68 59 32 74 68
5a 32 55 74 53 57 51 36 49 47 4e 6a 59 32 4e 6a
59 32 4e 6a 59 32 4e 6a 59 32 4e 6a 59 32 4e 6a
59 32 4e 6a 59 32 4e 6a 59 32 4e 6a 59 77 30 4b
55 47 46 6a 61 32 46 6e 5a 53 31 57 5a 58 4a 7a
61 57 39 75 4f 69 41 77 4c 6a 41 75 4d 43 34 78
44 51 70 51 59 57 4e 72 59 57 64 6c 4c 56 5a 6c
63 6e 4e 70 62 32 34 74 53 57 51 36 49 47 52 6b
5a 47 52 6b 5a 47 52 6b 5a 47 52 6b 5a 47 52 6b
5a 47 52 6b 5a 47 52 6b 5a 47 52 6b 5a 47 52 6b
5a 41 30 4b 55 47 46 6a 61 32 46 6e 5a 53 31 55
65 58 42 6c 4f 69 42 6b 5a 57 4a 31 5a 79 31 30
62 32 74 6c 62 67 30 4b 55 47 46 6a 61 32 46 6e
5a 53 31 4a 63 33 4e 31 5a 53 31 45 59 58 52 6c
4f 69 41 79 4d 44 45 78 4c 54 41 78 4c 54 41 78
56 44 41 77 4f 6a 41 77 4f 6a 41 77 57 67 30 4b
55 47 46 6a 61 32 46 6e 5a 53 31 42 64 58 52 6f
62 33 49 74 51 32 56 79 64 47 6c 6d 61 57 4e 68
64 47 55 74 53 47 46 7a 61 44 6f 67 5a 55 5a 6c
65 58 70 47 62 54 52 61 5a 6c 6c 51 5a 46 5a 55
56 32 70 6c 55 33 42 6a 62 31 6c 31 53 6d 4a 6b
4f 45 4a 77 59 30 5a 4b 56 7a 4a 58 4e 32 56 57
59 57 5a 7a 4e 54 52 57 59 33 68 74 53 46 41 77
5a 55 5a 77 4d 31 56 75 59 6b 68 5a 57 45 35 73
65 46 39 44 63 54 4e 69 5a 53 31 48 65 58 4a 57
62 30 39 6e 4d 6e 5a 5a 63 57 68 7a 51 6b 45 4e
43 67 30 4b 52 47 56 69 64 57 63 74 56 47 39 72
5a 57 34 74 55 33 6c 7a 64 47 56 74 4c 55 46 6a
64 47 6c 76 62 6e 4d 36 49 47 46 6a 64 47 6c 76
62 67 30 4b 52 47 56 69 64 57 63 74 56 47 39 72
5a 57 34 74 52 58 68 77 61 58 4a 35 4c 55 52 68
64 47 55 36 49 44 49 77 4d 54 45 74 4d 44 45 74
4d 44 46 55 4d 44 41 36 4d 44 41 36 4d 44 42 61
44 51 70 45 5a 57 4a 31 5a 79 31 55 62 32 74 6c
62 69 31 45 5a 58 5a 70 59 32 55 74 53 57 51 36
49 44 59 78 4f 54 67 7a 4f 44 55 31 4d 51 30 4b
44 51 6f 3d
SF =
55 32 6c 6e 62 6d 46 30 64 58 4a 6c 4c 56 5a 6c
63 6e 4e 70 62 32 34 36 49 44 45 75 4d 41 30 4b
55 30 68 42 4c 54 55 78 4d 69 31 45 61 57 64 6c
63 33 51 74 54 57 46 75 61 57 5a 6c 63 33 51 36
49 46 5a 4a 64 48 52 76 65 6a 4a 66 58 30 5a 43
57 58 5a 74 64 33 4e 50 64 6a 42 45 4e 31 56 43
54 6e 5a 75 4e 45 31 48 56 6d 68 4e 62 7a 64 30
54 54 6c 54 65 55 51 33 61 48 4e 43 62 51 30 4b
49 48 4e 70 59 57 6c 54 63 46 6c 70 65 55 4a 4d
4e 33 70 77 51 6e 56 58 51 32 63 77 64 45 78 6e
63 31 4a 43 53 6d 5a 59 59 31 45 32 59 6d 39 42
56 43 31 77 52 31 39 33 44 51 70 54 53 45 45 74
4e 54 45 79 4c 55 52 70 5a 32 56 7a 64 43 31 4e
59 57 35 70 5a 6d 56 7a 64 43 31 4e 59 57 6c 75
4c 55 46 30 64 48 4a 70 59 6e 56 30 5a 58 4d 36
49 46 5a 4a 64 48 52 76 65 6a 4a 66 58 30 5a 43
57 58 5a 74 64 33 4e 50 64 6a 42 45 4e 31 56 43
54 6e 5a 75 4e 45 31 48 44 51 6f 67 56 6d 68 4e
62 7a 64 30 54 54 6c 54 65 55 51 33 61 48 4e 43
62 58 4e 70 59 57 6c 54 63 46 6c 70 65 55 4a 4d
4e 33 70 77 51 6e 56 58 51 32 63 77 64 45 78 6e
63 31 4a 43 53 6d 5a 59 59 31 45 32 59 6d 39 42
56 43 31 77 52 31 39 33 44 51 70 44 63 6d 56 68
64 47 56 6b 4c 55 4a 35 4f 69 41 78 4c 6a 41 67
4b 46 4a 4a 54 53 42 43 59 58 4a 54 61 57 64 75
5a 58 49 67 56 47 39 76 62 43 6b 4e 43 67 30 4b
DevCert =
4d 49 49 42 61 7a 43 42 7a 4b 41 44 41 67 45 43
41 68 45 41 32 39 4a 50 33 61 57 74 75 56 55 6f
38 53 47 55 53 5a 65 73 30 6a 41 4d 42 67 67 71
68 6b 6a 4f 50 51 51 44 42 41 55 41 4d 42 51 78
45 6a 41 51 42 67 4e 56 42 41 4d 4d 43 55 4a 31
63 6d 46 75 63 32 39 6d 64 44 41 65 46 77 30 78
4d 7a 41 34 4d 6a 41 78 4d 6a 4d 79 4d 44 46 61
46 77 30 7a 4d 7a 41 34 4d 54 55 78 4d 6a 4d 79
4d 44 46 61 4d 42 51 78 45 6a 41 51 42 67 4e 56
42 41 4d 4d 43 55 4a 31 63 6d 46 75 63 32 39 6d
64 44 42 59 4d 42 41 47 42 79 71 47 53 4d 34 39
41 67 45 47 42 53 75 42 42 41 41 6a 41 30 51 41
41 77 46 61 48 72 59 64 64 53 33 35 2b 72 48 6f
49 50 4b 4a 58 55 47 6b 54 46 30 61 6a 37 39 6a
33 37 30 4c 6b 48 6e 6c 4c 57 69 66 6f 57 43 2b
37 41 36 70 55 2f 34 7a 33 6e 2b 77 78 34 4e 32
45 78 79 37 71 6c 4e 6b 46 4e 78 70 6b 77 55 57
49 52 61 4f 53 50 61 36 57 6a 41 4d 42 67 67 71
68 6b 6a 4f 50 51 51 44 42 41 55 41 41 34 47 4c
41 44 43 42 68 77 4a 43 41 4c 42 55 46 41 33 58
41 37 7a 36 43 45 74 53 6a 74 51 6f 39 35 6c 31
6b 49 4c 4d 52 53 43 51 58 48 6a 38 6e 45 77 36
4a 49 43 74 74 72 61 2b 6c 55 63 65 63 6d 6f 4d
4d 37 50 2f 72 64 4f 58 77 4e 76 4c 61 4f 67 59
6c 74 69 43 65 64 56 6f 55 65 78 34 30 76 61 32
41 6b 46 48 31 4a 41 30 4c 71 4d 4d 4b 46 6d 55
4c 36 55 2f 50 54 71 73 59 58 74 31 69 68 51 57
52 53 64 30 58 66 33 63 69 30 6e 6a 4b 58 30 68
41 2b 7a 35 76 37 52 4d 64 5a 53 30 66 58 38 43
47 4a 73 66 66 6c 4b 64 37 67 76 30 4f 78 2f 51
6c 50 78 79 6c 2f 41 73 6f 41 3d 3d
Connecting to URL http://www.rim.net/Websigner/servlet/PBDT-Waterloo
Sending properties to server...
Properties of response := [
Version = 1
Response = Signature Response
Confirm = Signing server ID PBDT signed code file from client ID 2001681.
Error = null
]
Encoded Package-Author-Id =
67 59 41 41 67 41 72 4e 6c 51 54 68 52 4b 48 5f
42 65 39 71 52 63 41 5f 49 4e 73
Encoded Package-Id =
67 59 41 42 67 4d 78 35 4b 5a 5a 71 6e 6b 4a 72
78 33 50 55 79 74 2d 66 49 42 41
Encoded Package-Version-Id =
67 59 41 43 67 44 48 47 67 6e 39 53 41 4b 6a 38
50 48 4b 59 4b 35 54 78 58 7a 63
Package-Issue-Date =
32 30 31 33 2d 30 38 2d 32 30 54 31 38 3a 35 30
3a 35 35 5a
Package-Version =
30 2e 30 2e 30 2e 34 35
Debug-Token-Expiry-Date =
32 30 31 33 2d 30 39 2d 31 39 54 31 38 3a 35 30
3a 35 35 5a
Debug-Token-System-Actions =
65 78 65 63 75 74 65 2c 6d 75 6c 74 69 5f 77 69
6e 64 6f 77 2c 6d 75 6c 74 69 5f 69 6e 73 74 61
6e 63 65 2c 72 75 6e 5f 61 69 72 5f 6e 61 74 69
76 65 2c 72 75 6e 5f 6e 61 74 69 76 65 2c 5f 73
79 73 5f 75 73 65 5f 63 6f 6e 73 75 6d 65 72 5f
70 75 73 68 2c 5f 73 79 73 5f 72 75 6e 5f 68 65
61 64 6c 65 73 73
Encoded Signature =
41 59 34 38 4d 79 54 39 6a 6b 2b 69 48 6a 6d 38
4c 6a 38 49 34 46 38 56 62 45 31 5a 4f 73 65 44
69 69 78 41 50 45 68 4e 4c 35 66 73 66 30 67 6c
6e 36 37 49 6b 62 6b 39 47 72 63 56 6b 4b 7a 5a
56 4f 38 42 49 64 67 2b 49 44 45 75 4b 42 78 74
41 55 74 77 65 6d 52 54 41 5a 78 58 65 38 53 57
4e 4e 44 6c 33 67 42 68 48 59 51 74 49 58 5a 45
44 74 7a 4f 2b 67 33 2f 64 62 57 6c 61 72 34 4a
77 73 44 54 73 67 6f 64 47 79 50 31 37 51 57 6c
55 79 32 56 7a 34 4a 52 30 4f 54 58 52 6a 42 4a
39 7a 32 74 78 44 53 2f 6e 34 35 39 6a 58 32 61
Decoded Signature =
01 8e 3c 33 24 fd 8e 4f a2 1e 39 bc 2e 3f 08 e0
5f 15 6c 4d 59 3a c7 83 8a 2c 40 3c 48 4d 2f 97
ec 7f 48 25 9f ae c8 91 b9 3d 1a b7 15 90 ac d9
54 ef 01 21 d8 3e 20 31 2e 28 1c 6d 01 4b 70 7a
64 53 01 9c 57 7b c4 96 34 d0 e5 de 00 61 1d 84
2d 21 76 44 0e dc ce fa 0d ff 75 b5 a5 6a be 09
c2 c0 d3 b2 0a 1d 1b 23 f5 ed 05 a5 53 2d 95 cf
82 51 d0 e4 d7 46 30 49 f7 3d ad c4 34 bf 9f 8e
7d 8d 7d 9a
ASN.1 Signature =
30 81 88 02 42 01 8e 3c 33 24 fd 8e 4f a2 1e 39
bc 2e 3f 08 e0 5f 15 6c 4d 59 3a c7 83 8a 2c 40
3c 48 4d 2f 97 ec 7f 48 25 9f ae c8 91 b9 3d 1a
b7 15 90 ac d9 54 ef 01 21 d8 3e 20 31 2e 28 1c
6d 01 4b 70 7a 64 53 02 42 01 9c 57 7b c4 96 34
d0 e5 de 00 61 1d 84 2d 21 76 44 0e dc ce fa 0d
ff 75 b5 a5 6a be 09 c2 c0 d3 b2 0a 1d 1b 23 f5
ed 05 a5 53 2d 95 cf 82 51 d0 e4 d7 46 30 49 f7
3d ad c4 34 bf 9f 8e 7d 8d 7d 9a

C:\Users\Burak\AppData\Local\Research In Motion>dir
 Volume in drive C is OS
 Volume Serial Number is DE4E-DB83

 Directory of C:\Users\Burak\AppData\Local\Research In Motion

20.08.2013  21:50    <DIR>          .
20.08.2013  21:50    <DIR>          ..
20.08.2013  15:32               881 author.p12
20.08.2013  15:32                 0 barsigner.db
20.08.2013  15:32             1.023 bbidtoken.csk
20.08.2013  17:17             3.243 bbt_id_rsa
20.08.2013  17:17               726 bbt_id_rsa.pub
20.08.2013  15:00    <DIR>          BlackBerry 10 Desktop
20.08.2013  10:58    <DIR>          BlackBerry Native SDK
               5 File(s)          5.873 bytes
               4 Dir(s)  26.701.627.392 bytes free

C:\Users\Burak\AppData\Local\Research In Motion>

 

Please use plain text.
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
My Carrier: Turkcell

Re: Can't Create Debug Token, So Frustrated

Dear Mr. Sohm, has the internal development team found a possible cause and fix?

 

Thanks

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Can't Create Debug Token, So Frustrated

No, not yet.  I'll post here as soon as I have more information to share.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
burakk
Posts: 149
Registered: ‎04-23-2011
My Device: BlackBerry 9700 Bold
My Carrier: Turkcell

Re: Can't Create Debug Token, So Frustrated

The workaround for the problem is:

 

Edit the BlackBerry-signer.bat file and BlackBerry-debugtokenrequest.bat file. You would change the lines:

 

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

to

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

 

 

Thanks again Mark

 

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Can't Create Debug Token, So Frustrated

[ Edited ]

No problem, thanks for all the testing help and for posting the solution here.  We will have a fix for this in a future release.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Member
mzengin
Posts: 1
Registered: ‎12-22-2013
My Device: z10
My Carrier: turkcell

Re: Can't Create Debug Token, So Frustrated

 

dear burak,

 

i also encounter the same problem,

-verbose option displays a valid expiry date for bar file,

bar file is created and it disappears immediately,

did you manage to solve the problem?

Please use plain text.