Hello,
I am developing a smartcard application.
my application is running in the stand alone mode.
when i make it an applet, it fails both in IE and netscape at the first
statement itself i.e
SmartCard.start() with the following exception.
Caught java.lang.NullPointerException: name can't be null while loading
driver
com.sun.comm.Win32Driver
opencard.core.terminal.CardTerminalException
at
com.gemplus.opencard.terminal.GemplusCardTerminal.open(GemplusCardTerminal.java:325)
at
com.gemplus.opencard.terminal.GemplusCardTerminal.open(GemplusCardTerminal.java:220)
at
opencard.core.terminal.CardTerminalRegistry.add(CardTerminalRegistry.java:130)
at
com.gemplus.opencard.terminal.GemplusCardTerminalFactory.createCardTerminals(GemplusCardTerminalFactory.java,
Compiled Code)
at
opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java,
Compiled Code)
at
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java,
Compiled Code)
at opencard.core.service.SmartCard.start(SmartCard.java:534)
at samplecard.run(samplecard.java:65)
at samplecard.<init>(samplecard.java:55)
at smartcard.init(smartcard.java:38)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can u let me know what cud b the problem and what changes do i need to
make in
order to make it work in the browsers. I am using the netscape 4.7, IE 5
and
javaplugin1.2.2 and jre 1.2.2. and i hav copied the comm.jar and
cjavax.comm.properties file to my javahome/lib and hav copied
win32comm.dll to the java home/bin.
Thanks and regards
Haripriya
---
> 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.