Home » Developer & Programmer » JDeveloper, Java & XML » Applet build error - Array index out of range (Javacard/smart card applet, JC304.jar, Linux)
Applet build error - Array index out of range [message #679145] Mon, 10 February 2020 12:01
smartycardpants
Messages: 1
Registered: February 2020
Junior Member
I am getting an ArrayIndexOutOfBoundsException when trying to convert an applet.

I can comment out the following 2 lines and I don't get the error. Any thoughts as to why I am getting this error? (Thanks)

private KeyAgreement ivKeyAgreement;

ivKeyAgreement = KeyAgreement.getInstance(KeyAgreement.ALG_EC_SVDP_DH_PLAIN, false);

-Xmca256K RAM class segment increment
-Xmco512K ROM class segment increment
-Xmcrs200M compressed references metadata initial size
-Xmns64M initial new space size
-Xmnx64M maximum new space size
-Xms128M initial memory size
-Xmos64M initial old space size
-Xmox64M maximum old space size
-Xmx128M memory maximum
-Xmr256K remembered set size
-Xlp:objectheap:pagesize=4K large page size
available large page sizes:
4K
-Xlp:codecache:pagesize=4K large page size for JIT code cache
available large page sizes for JIT code cache:
4K
-Xmso512K operating system thread stack size
-Xiss256K java thread stack initial size
-Xssi256K java thread stack increment
-Xss4M java thread stack maximum size
Error: class java.lang.ArrayIndexOutOfBoundsException, Array index out of range: 24811
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 24811
at com.ibm.jc.apps.tric.c.g$d.for(Unknown Source)
at com.ibm.jc.apps.tric.jc.e$b.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)
at com.ibm.jc.apps.tric.jc.Converter.main(Unknown Source)
>
Previous Topic: xml global element validation
Next Topic: XML-Element with same Tag
Goto Forum:
  


Current Time: Thu Mar 28 18:56:08 CDT 2024