Open behnejad opened 6 years ago
I am having same above issue.
Hi. i am getting this SystemException when my applet class is going to install.
Exception in thread "main" javacard.framework.SystemException at javacard.framework.SystemException.throwIt(Unknown Source) at com.licel.jcardsim.base.Simulator.createApplet(Simulator.java:179) at com.licel.jcardsim.base.Simulator.installApplet(Simulator.java:219) at com.licel.jcardsim.base.Simulator.installApplet(Simulator.java:195)
my applet works on real java card (both version 2.2 and 3) but it failed to install on simulation. does it come from my applet or something else?
have you solved ??
Hi @liyanhrxy
Successfully passed the installApplet
function call while previously got stuck on the same System Exception.
In my case the applet itself causes this by invoking a crypto function (Signature.getInstance(....)
) with a non-existing (I mean on simulator's JCVM) parameter's value. So I had to add additional handling just for the jcardsim
And @behnejad probably had the same issue. Usually smartcards have their own HW blocks and proprietary JC libs implementations.
Anyway, thanks @licel for his work.
Hi. i am getting this SystemException when my applet class is going to install.
Exception in thread "main" javacard.framework.SystemException at javacard.framework.SystemException.throwIt(Unknown Source) at com.licel.jcardsim.base.Simulator.createApplet(Simulator.java:179) at com.licel.jcardsim.base.Simulator.installApplet(Simulator.java:219) at com.licel.jcardsim.base.Simulator.installApplet(Simulator.java:195)
my applet works on real java card (both version 2.2 and 3) but it failed to install on simulation. does it come from my applet or something else?