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.

Convert Applet error: Array index out of bounds

JavaCard Applet Development Related Questions and Answers.
smartycardpants
Posts: 4
Joined: Thu Jan 12, 2017 4:14 pm
Points :68
Contact:

Convert Applet error: Array index out of bounds

Post by smartycardpants » Fri Feb 15, 2019 4:00 pm

When building a smart card applet I get:

Error: class java.lang.ArrayIndexOutOfBoundsException, Array index out of range: 25305
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 25305
at com.ibm.jc.apps.tric.c.g$d.a(Unknown Source)
at com.ibm.jc.apps.tric.jc.JCClazz$a.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.c.i.a(Unknown Source)
at com.ibm.jc.apps.tric.jc.JCCab.O(Unknown Source)
at com.ibm.jc.apps.tric.jc.Converter.a(Unknown Source)
at com.ibm.jc.apps.tric.jc.CapConverter.createImage(Unknown Source)

If I comment out one or more arrays, all is well.

I seem to be running into an applet size restriction during the build process. Does anyone have any ideas how I can get around this?

Thanks.

kuafu
Posts: 317
Joined: Thu Jun 25, 2015 2:09 am
Points :4551
Contact:

Re: Convert Applet error: Array index out of bounds

Post by kuafu » Fri Feb 15, 2019 7:42 pm

Do you using Jcop tools to compiler applet. You can try JCIDE .its converter is well,no restrict.
well

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 43 guests

JavaCard OS : Disclaimer