Catre a puce

ahmedbaccar - 30 avril 2013 à 04:01
 ahmedbaccar - 30 avril 2013 à 23:09
slt,j ai un programme qui marche bien avec le simulateur cref mais lorsque j ai testé avec le lecteur il m affiche erreur de selection 6A82 (file not found)quelqun peut maider svp

5 réponses

cs_Julien39 Messages postés 6414 Date d'inscription mardi 8 mars 2005 Statut Modérateur Dernière intervention 29 juillet 2020 371
30 avril 2013 à 08:13
Salut,

Le programme n'arrive pas à trouver un fichier... Je ne peux pas t'en dire plus si je n'ai pas plus d'éléments. tu n'as pas la trace complète de l'erreur ?
0
il s agit d errreur de selection du card manager aid,j utilise ecclipse et le projet jsr
0
c est la trace


Buildfile: C:\Users\ahmed\Desktop\tuto servlet\JSR268TK\JSR268TK-2\bin\build.xml
deleter:
[java] Loads resources...
[java] Loading resources...
[java] Parses configuration file...
[java] Parses the manager configuration file.
[java] Builds the underlying CAD (Gemplus USB Smart Card Reader 0)...
[java] Builds the GlobalPlatform CAD...
[java] Builds the GlobalPlatform loader...
[java] jsr268gp.main.MainException: jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
[java] at jsr268gp.main.Delete.execute(Delete.java:35)
[java] at jsr268gp.main.Delete.main(Delete.java:86)
[java] Caused by: jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:114)
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:129)
[java] at jsr268gp.loader.GPLoader.selectAndAuthenticate(GPLoader.java:166)
[java] at jsr268gp.main.Delete.execute(Delete.java:33)
[java] ... 1 more
[java] ATR ; (byte) 0x3B; (byte) 0x95; (byte) 0x95; (byte) 0x40; (byte) 0xFF; (byte) 0xAE; (byte) 0x01; (byte) 0x03; (byte) 0x00; (byte) 0x00
[java] (capdu) => SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00
[java] CLA INS P1 P2: 00 A4 04 00 Lc: 0F Le: 00
[java] Data: A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00
[java] (rapdu) <= SW1-SW2: 6A82
[java] jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
loader:
[java] Loads resources...
[java] Loading resources...
[java] Parses configuration file...
[java] Parses the manager configuration file.
[java] Builds the underlying CAD (Gemplus USB Smart Card Reader 0)...
[java] Builds the GlobalPlatform CAD...
[java] Builds the GlobalPlatform loader...
[java] ATR ; (byte) 0x3B; (byte) 0x95; (byte) 0x95; (byte) 0x40; (byte) 0xFF; (byte) 0xAE; (byte) 0x01; (byte) 0x03; (byte) 0x00; (byte) 0x00
[java] (capdu) => SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00
[java] CLA INS P1 P2: 00 A4 04 00 Lc: 0F Le: 00
[java] Data: A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00
[java] (rapdu) <= SW1-SW2: 6A82
[java] jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
[java] jsr268gp.main.MainException: jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
[java] at jsr268gp.main.Load.execute(Load.java:34)
[java] at jsr268gp.main.Load.main(Load.java:85)
[java] Caused by: jsr268gp.cad.BadResponseStatusException: The SELECT A0 00 00 00 18 43 4D 08 09 0A 0B 0C 00 00 00 command failed with response status 0x6a82, but 0x9000 was expected.
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:114)
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:129)
[java] at jsr268gp.loader.GPLoader.selectAndAuthenticate(GPLoader.java:166)
[java] at jsr268gp.main.Load.execute(Load.java:32)
[java] ... 1 more
run:
[java] Succes
main:
BUILD SUCCESSFUL
Total time: 5 seconds
0
j ai trouvée la solution mais lorsque d essayé une autre solution il me donne l erreur 6983 c a dire carte bloqué(le probleme il n ya pas encore une applet sur la carte comment elle est bloqué!!!!!!!!!!!!!!)
svp une reponse
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
voici la trace

Buildfile: C:\Users\ahmed\Desktop\countrmi\JSR268TK\JSR268TK-2\bin\build.xml
deleter:
[java] Loads resources...
[java] Loading resources...
[java] Parses configuration file...
[java] Parses the manager configuration file.
[java] Builds the underlying CAD (Gemplus USB Smart Card Reader 0)...
[java] Builds the GlobalPlatform CAD...
[java] Builds the GlobalPlatform loader...
[java] ATR ; (byte) 0x3B; (byte) 0x95; (byte) 0x95; (byte) 0x40; (byte) 0xFF; (byte) 0xAE; (byte) 0x01; (byte) 0x03; (byte) 0x00; (byte) 0x00
[java] (capdu) => SELECT A0 00 00 00 03 00 00 00
[java] CLA INS P1 P2: 00 A4 04 00 Lc: 08 Le: 00
[java] Data: A0 00 00 00 03 00 00 00
[java] (rapdu) <= SW1-SW2: 9000
[java] Data: 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E
[java] 06 20 91 01 03 42 75 9F 65 01 FF
[java] (capdu) => INITIALIZE UPDATE
[java] CLA INS P1 P2: 80 50 00 00 Lc: 08 Le: 1C
[java] Data: 57 48 E4 92 32 6F 3C 17
[java] jsr268gp.main.MainException: jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
[java] at jsr268gp.main.Delete.execute(Delete.java:35)
[java] at jsr268gp.main.Delete.main(Delete.java:86)
[java] Caused by: jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:114)
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:129)
[java] at jsr268gp.cad.GPCAD.mutualAuthenticate(GPCAD.java:569)
[java] at jsr268gp.loader.GPLoader.selectAndAuthenticate(GPLoader.java:177)
[java] at jsr268gp.main.Delete.execute(Delete.java:33)
[java] ... 1 more
[java] (rapdu) <= SW1-SW2: 6983
[java] jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
loader:
[java] Loads resources...
[java] Loading resources...
[java] Parses configuration file...
[java] Parses the manager configuration file.
[java] Builds the underlying CAD (Gemplus USB Smart Card Reader 0)...
[java] Builds the GlobalPlatform CAD...
[java] Builds the GlobalPlatform loader...
[java] ATR ; (byte) 0x3B; (byte) 0x95; (byte) 0x95; (byte) 0x40; (byte) 0xFF; (byte) 0xAE; (byte) 0x01; (byte) 0x03; (byte) 0x00; (byte) 0x00
[java] (capdu) => SELECT A0 00 00 00 03 00 00 00
[java] CLA INS P1 P2: 00 A4 04 00 Lc: 08 Le: 00
[java] Data: A0 00 00 00 03 00 00 00
[java] (rapdu) <= SW1-SW2: 9000
[java] Data: 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E
[java] 06 20 91 01 03 42 75 9F 65 01 FF
[java] jsr268gp.main.MainException: jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
[java] at jsr268gp.main.Load.execute(Load.java:34)
[java] at jsr268gp.main.Load.main(Load.java:85)
[java] Caused by: jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:114)
[java] at jsr268gp.cad.CAD.sendAPDUAndVerify(CAD.java:129)
[java] at jsr268gp.cad.GPCAD.mutualAuthenticate(GPCAD.java:569)
[java] at jsr268gp.loader.GPLoader.selectAndAuthenticate(GPLoader.java:177)
[java] at jsr268gp.main.Load.execute(Load.java:32)
[java] ... 1 more
[java] (capdu) => INITIALIZE UPDATE
[java] CLA INS P1 P2: 80 50 00 00 Lc: 08 Le: 1C
[java] Data: 55 E7 C3 AB 75 FA D0 77
[java] (rapdu) <= SW1-SW2: 6983
[java] jsr268gp.cad.BadResponseStatusException: The INITIALIZE UPDATE command failed with response status 0x6983, but 0x9000 was expected.
run:
[java] Succes
main:
BUILD SUCCESSFUL
Total time: 53 seconds
0
Rejoignez-nous