Hi all,
I just started using SmartCards.I'm getting the following problem.
Problem is:::::::
D:\smartcards>java com.cmc.test.SampleSign
Gemplus Card Terminal Version: 4.01.003 Date: December 10, 1999
Uses Polling thread techniques Sleeptime: 500
Waiting for card
[INFO ] com.gemplus.opencard.terminal.GemplusCardTerminal.getCardID
--- message get the CardID 0
--- thread Thread[main,5,main]
--- source class com.gemplus.opencard.terminal.GemplusCardTerminal
=========================
Creating GPK8000 CardServices...
[INFO ]
opencard.core.service.CardServiceRegistry.getCardServiceInstance
--- message no CardService for interface
opencard.opt.signature.KeyGenerationC
ardService found
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceRegistry@540a9454++
registered fa
ctory opencard.opt.util.PassThruCardServiceFactory@69f69454
java.lang.ClassNotFoundException: CardService implementing interface
opencard.op
t.signature.KeyGenerationCardService
at
opencard.core.service.CardServiceRegistry.getCardServiceInstance(Card
ServiceRegistry.java, Compiled Code)
at
opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
at com.cmc.test.SampleSign.<init>(SampleSign.java:47)
at com.cmc.test.SampleSign.main(SampleSign.java:93)
[INFO ] opencard.core.service.CardServiceScheduler.releaseSmartCard
--- message no more SmartCards, closing down
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceScheduler@9d369454, is
alive
[INFO ] opencard.core.service.CardServiceScheduler.releaseSmartCard
--- message no more SmartCards, closing down
--- thread Thread[main,5,main]
--- source opencard.core.service.CardServiceScheduler@9d369454, not
alive
[INFO ] com.gemplus.opencard.terminal.GemplusCardTerminal.close
--- message close mygcr
--- thread Thread[main,5,main]
--- source class com.gemplus.opencard.terminal.GemplusCardTerminal
=========================
VALIDATING the Signature...
Exception in thread "main" java.lang.NullPointerException
at com.cmc.test.SampleSign.main(SampleSign.java:109)
Can u please inform the solution.Is it a classpath problem or any other.
thanks in advance.
Bye,
Sreenivas,CMCLtd
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.