Convert Applet error: Array index out of bounds

JavaCard Applet Development Related Questions and Answers.
smartycardpants
Posts: 3
Joined: Thu Jan 12, 2017 4:14 pm
Points :46
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: 150
Joined: Thu Jun 25, 2015 2:09 am
Points :1613
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 4 guests

JavaCard OS : Disclaimer