Hello,

Sudarshan Ramachandra wrote:
> I am getting this exception when trying to run the sample
> StockbrokerDemo.
> Can someone please tell me what is wrong?
> I get the GUI though. This message is printed after opening port com2.
> 
> Caught java.lang.NullPointerException: name can't be null while 
> loading driver com.sun.comm.Win32Driver

This error message *looks* like one that we have when trying
to use a pure java driver inside a browser applet. It is due
to a Comm API bug when used into a Java2 (1.2 or 1.3) plugin.
There is a workaround, see one of my previous post on this issue:
http://www.opencard.org/archive/opencard/1374.html

There is also good news, it's that if you can use Solaris or Linux:
this bug has been fixed in the latest version of Comm API (see
an other post: http://www.opencard.org/archive/opencard/1462.html ).
If you are stuck with Win$$, there is still the workaround.

Now, I haven't tried to use the stockbroker demo, there might be a
completely different cause to your problem.. Also I think there is
an updated version of the OCF demos (Thomas Schaeck has posted a
message on this) at http://www.opencard.org/SCJavaBook/download.shtml

Hope it'll help.

Cheers,
Christophe.

 = "If an undetectable error occurs, the processor continues as if =
 = no error had occurred."    -- IBM S/360 Principles of Operation =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83 | Disclaimer: I don't speak for Gemplus
Gemplus doesn't speak for me... it is better that way!
-------------------------------------------------------------


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