Hi,

I believe that this 'name can't b null exception is because the win32dll is not
being properly located by its JNI wrapper.that class is internally called by the
function Smartcard.start(). so if u externally initialize the CommDriver and
proceed it'll allow u to work. this time also it throws an exception but that
can b ignored...
For the solution u can look back into the previous mails of this list...
For more info on this issue u can look into the java discussion forums of sun.

Regards
Haripriya

Shawn Casey Elliott wrote:

> I believe that I have worked around the security issue, however I get this
> when my applet tries to execute the following line so maybe not.
>
> the code that is throwing the exception,
> ResponseAPDU rapdu = cs.sendCommandAPDU(capdu);
>
> here is what the Java Console display's,
>
> Java(TM) Plug-in: Version 1.3.0-C
> Using JRE version 1.3.0 Java HotSpot(TM) Client VM
> User home directory = C:\WINDOWS
> Proxy Configuration: no proxy
>
> JAR cache disabled.
> Caught java.lang.NullPointerException: name can't be null while loading
> driver com.sun.comm.Win32Driver
>
>  Gemplus Card Terminal Version:  4.01.003 Date:  December 10, 1999
>  Uses Polling thread techniques Sleeptime: 500
>
> Caught card terminal exception
> opencard.core.terminal.CardTerminalException
>  at
> com.gemplus.opencard.terminal.GemplusCardTerminal.internalSendAPDU(GemplusCa
> rdTerminal.java:791)
>  at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494)
>  at opencard.core.terminal.SlotChannel.sendAPDU(SlotChannel.java:115)
>  at opencard.core.service.CardChannel.sendCommandAPDU(CardChannel.java:222)
>  at
> opencard.opt.util.PassThruCardService.sendCommandAPDU(PassThruCardService.ja
> va:153)
>  at ReadFile.startCard(ReadFile.java:86)
>  at JavaLab.init(JavaLab.java:60)
>  at sun.applet.AppletPanel.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)
> shuting down card in ERROR
>
> 1)Are we supposed to ignore the first NullPointerExecption about the
> Win32Driver?(I'm using the work around discussed earlier)
>
> 2)any ideas as to why it is throwing this exception?
>
> ---
> > 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.



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