You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making a simple java card project with no build tools (gradle, maven etc). Everything seems to be working fine, but when I added the Java card development kit (I need this as I am using using X509 certificates from the JCDK), I get an internal reflection error when I am initialising the simulator. I am calling the below line in the start of my base class:
simulator = new CardSimulator();
And I am getting this error:
Exception in thread "main" java.lang.RuntimeException: Internal reflection error
at com.licel.jcardsim.base.SimulatorRuntime.<init>(SimulatorRuntime.java:93)
at com.licel.jcardsim.base.SimulatorRuntime.<init>(SimulatorRuntime.java:73)
at com.licel.jcardsim.smartcardio.CardSimulator.<init>(CardSimulator.java:44)
at InitTerminalApp.initSimulator(InitTerminalApp.java:114)
at InitTerminalApp.main(InitTerminalApp.java:90)
Caused by: java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.licel.jcardsim.base.SimulatorRuntime.<init>(SimulatorRuntime.java:83)`
Is it not recommended to use both libraries together? Some guidance would be great on this!
jcardsim version (3.0.4)
JCDK version (3.1.0)
The text was updated successfully, but these errors were encountered:
I am making a simple java card project with no build tools (gradle, maven etc). Everything seems to be working fine, but when I added the Java card development kit (I need this as I am using using X509 certificates from the JCDK), I get an internal reflection error when I am initialising the simulator. I am calling the below line in the start of my base class:
simulator = new CardSimulator();
And I am getting this error:
Is it not recommended to use both libraries together? Some guidance would be great on this!
jcardsim version (3.0.4)
JCDK version (3.1.0)
The text was updated successfully, but these errors were encountered: