It is my first request.

I want to use JPCSC with suse linux. I installed pcsc-lite and my smart
reader(OMNIKEY) driver and I think they are working correctly. I tried
the pcsc-lite test program and I have:
Testing SCardEstablishContext    : Command successful.
Testing SCardGetStatusChange
Please insert a working reader   : Command successful.
Testing SCardListReaderGroups    : Command successful.
Group 01: SCard$DefaultReaders
Testing SCardListReaders         : Command successful.
Reader 01: OMNIKEY CardMan 3x21 00 00
Waiting for card insertion       : Command successful.
...

then I compiled JPCS 0.8.0. and I had libjpcsc.so into the same folder
as libpcsc.so.
But when I try to run a sample java program I have:

Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.linuxnet.jpcsc.Context.<clinit>(Context.java:19)
    at cardGridCom.CardGridUser.<init>(CardGridUser.java:15)
    at jgpshell.Session.init(Session.java:130)
    at jgpshell.Shell.init_shell(Shell.java:46)
    at jgpshell.Shell.main(Shell.java:114)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 68
    at com.linuxnet.jpcsc.PCSC.<clinit>(PCSC.java:350)
    ... 5 more

Any idea ?

thanks,
Moez
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to