I'm using only OCF 1.1.1. The problem is in SmartCard.start(). This
instruction throws this exception:
    Caught java.lang.IllegalArgumentException: name can't be null
whileloading driver com.sun.comm.Win32Driver

opencard.core.terminal.CardTerminalException:java.lang.NullPointerException
        at com.gemplus.opencard.terminal.GemplusCardTerminal.open(Unknown
Source)
        at com.gemplus.opencard.terminal.GemplusCardTerminal.open(Unknown
Source)
        at
opencard.core.terminal.CardTerminalRegistry.add(CardTerminalRegistry.java:13
2)
        at
com.gemplus.opencard.terminal.GemplusCardTerminalFactory.createCardTerminals
(Unknown Source)
        at
opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:
413)
        at
opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:255
)
        at opencard.core.service.SmartCard.start(SmartCard.java:527)
        at testapplet.client.OkApplet.start(OkApplet.java:113)
        at sun.applet.AppletPanel.run(AppletPanel.java:371)
        at java.lang.Thread.run(Thread.java:479)

I'm following the solutions in "OCF1.1.1 Programmer's Guide". Have you
another solution for my problem?
If anyone had developed an applet with OCF (under Netscape, Explorer, ...)
can you send me some tips?

Thank you very much.

----- Original Message -----
From: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 05, 2000 4:01 PM
Subject: Re: [OCF] OCF and applets


>
>
> Did you migrate from OCF 1.1.1 to 1.2 ? This looks like you have installed
> a mix of OCF 1.1.1 and OCF 1.2. Please assure that only either OCF 1.1.1
or
> OCF 1.2 is installed and also check the classpath. Maybe you have both OCF
> 1.1.1 and OCF 1.2 classes in the classpath.
>
> Best regards,
>
> Thomas
>
> Thomas Schaeck
> Pervasive Computing Division - Extended e-business Solutions, EMEA
> Phone: +49-(0)7031-16-3479   Mobile: +49-(0)171-6928407   e-mail:
> [EMAIL PROTECTED]   Fax: +49-(0)7031-16-4888
> Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
> Boeblingen, Germany
>
>
> "Jose Miguel Teruel" <[EMAIL PROTECTED]> on 05.04.2000 15:40:17
>
> Please respond to "Jose Miguel Teruel" <[EMAIL PROTECTED]>
>
> To:   undisclosed-recipients:;, David Giomi <[EMAIL PROTECTED]>
> cc:   [EMAIL PROTECTED] (bcc: Thomas Schaeck/Germany/IBM)
> Subject:  Re: [OCF]  OCF and applets
>
>
>
>
> Hello David:
> I have the same problem.
> When I try to execute it like an applet i get the following error in the
> Java
> Plug-In Console(in Java Application the program works well):
>
> java.lang.NoSuchMethodError:
>  opencard.core.terminal.CardTerminalRegistry: method
>
>  setObserver(Lopencard/core/terminal/Observer;)V not found
>                      at
>  opencard.core.event.EventGenerator.getGenerator(EventGenerator.java:101)
> Is the same error?
>
> Jose Miguel
>
>
>
> David Giomi wrote:
>
> > Hello all.
> >
> > I've a "little" problem: my applet use OCF to access a JavaCard in a
> Gemplus
> > GCR410-X reader, but OCF doesn't find the proper CardTerminal (and find
a
> > GSE CardTerminal, a Gemplus simulator).
> > I'm sure to have a correct "opencard.properties" in the project
> directory!
> >
> > If I use OCF in a Java application (not in a Java applet) everything
> works
> > well, so what's the problem?
> >
> > Please, help me!
> >
> > Thank you.
> >
> > ---
> > > 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.
>
>
>
>
>
>
> ---
> > 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