I am student working on some little project, and new
to javacard technology.

I have one problem (when running the test program in
the opencard book).  I have
successfully
uploaded the BizCardApplet inot a GemXpresso PS_IS
card using a GemplusPC410
reader.  I also have successfully compiled the
off-card resident program
BusinessCard and is currently running the
BusinessTest.  The trace message
goes:


********

samples.business.BusinessTest
Creating thread 0
The card info is set in this thread
TPDU Not Used

java.lang.ClassNotFoundException: CardService
implementing class
samples.business.BusinessCardProxy
        at
opencard.core.service.CardServiceRegistry.getCardServiceInstance(CardServiceRegistry.java:269)
        at
opencard.core.service.SmartCard.getCardService(SmartCard.java:331)
        at
samples.business.BusinessCard.cardInserted(BusinessCard.java:59)
        at
opencard.core.event.EventGenerator.createEventsForPresentCards(EventGenerator.java:140)
        at
samples.business.BusinessCard.<init>(BusinessCard.java:38)
        at
samples.business.BusinessTest.<init>(BusinessTest.java:39)
        at
samples.business.BusinessTest.main(BusinessTest.java:77)
java.lang.NullPointerException
        at
samples.business.BusinessCard.setBusinessInfo(BusinessCard.java:144)
        at
samples.business.BusinessTest.<init>(BusinessTest.java:41)
        at
samples.business.BusinessTest.main(BusinessTest.java:77)
samples.business.BusinessCardException
        at
samples.business.BusinessCard.setBusinessInfo(BusinessCard.java:152)
        at
samples.business.BusinessTest.<init>(BusinessTest.java:41)
        at
samples.business.BusinessTest.main(BusinessTest.java:77)
*********************


Do you have any idea where I went wrong?  I have set
the opencard.properties
file to include :

opencard.services = \
com.gemplus.opencard.service.op.vop.vop211.CardServiceVOP211Factory
\
opencard.opt.util.PassThruCardServiceFactory \
com.gemplus.opencard.service.gse.GSECardServiceFactory
\
samples.business.BusinessCardProxyFactory


The code seems not to recognize this added card
service.  Also, when I run the
JCardManager (application of Gemplus), it shows an
"InvalidService" error.

Pleas help me sir.. thanks





        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains � Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 


---
> 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.

Reply via email to