Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Experiencing 6F00 when calling one method many times

JavaCard Applet Development Related Questions and Answers.
Nutt1
Posts: 5
Joined: Wed Jul 13, 2016 2:12 am
Points :80
Contact:

Experiencing 6F00 when calling one method many times

Post by Nutt1 » Wed Jul 13, 2016 4:48 am

I have completed a javacard applet. And there is a method which is used to generate a hash result. When I uploaded my applet in card and call this method, it worked fine and returned expected result. But when I put it to a loop and call this method for many times. After about 90 times, it only returned 0x6F00. What does this status mean?

Liguwu
Posts: 10
Joined: Thu Apr 07, 2016 1:40 am
Points :78
Contact:

Re: Experiencing 6F00 when calling one method many times

Post by Liguwu » Wed Jul 13, 2016 6:09 am

That error may be due to out of memory.

rena2019
Posts: 68
Joined: Thu Aug 20, 2015 4:16 pm
Points :1790
Contact:

Re: Experiencing 6F00 when calling one method many times

Post by rena2019 » Wed Jul 13, 2016 9:58 am

add a try-catch block to your code and check the getReason() method of the exception

Nutt1
Posts: 5
Joined: Wed Jul 13, 2016 2:12 am
Points :80
Contact:

Re: Experiencing 6F00 when calling one method many times

Post by Nutt1 » Thu Jul 14, 2016 1:48 am

Thank you very much for all the answers! My problem was solved!

It's just because of memory leaks in my applet. So for the memory of objects and arrays allocated via new keyword, I did them in the applet constructor. Thanks again~

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 48 guests

JavaCard OS : Disclaimer