Hi Christophe and All,

I have finished a java application using OCF, and now I need to convert it to 
an applet. I encountered some problems, hope you or anyone can help me

1. I need to put everything (OCF, Gemplus API, Comm API) into my jar file to 
make the applet executable, why?

2. now I am using appletviewer with -nosecurity option to test my applet. The 
following exception occur:

--------------------------------------------------------------------------------
opencard.core.terminal.CardTerminalException: java.lang.NullPointerException
        at com.gemplus.opencard.terminal.GemplusCardTerminal.open(Unknown Sourc
)
        at com.gemplus.opencard.terminal.GemplusCardTerminal.open(Unknown Sourc
)
        at opencard.core.terminal.CardTerminalRegistry.add(CardTerminalRegistry
java:130)
        at com.gemplus.opencard.terminal.GemplusCardTerminalFactory.createCardT
rminals(Unknown Source)
        at opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCa
d.java, Compiled Code)
        at opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.
ava, Compiled Code)
        at opencard.core.service.SmartCard.start(SmartCard.java:534)
        at HKID.<init>(HKID.java:36)
        at immdIssuanceApplet.initialize(immdIssuanceApplet.java:166)
        at immdIssuanceApplet.init(immdIssuanceApplet.java:157)
        at sun.applet.AppletPanel.run(AppletPanel.java:342)
        at java.lang.Thread.run(Thread.java:479)
--------------------------------------------------------------------------------

Hope you can help me. If these are solved, some more question will come


Thx alot
Michael Lee


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