[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] iSaSiLkLight NullPointerException



A seed has to be set before the random number generator can be used.
Please see the JavaDoc and the example applet for more information.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at


-----Ursprüngliche Nachricht-----
Von: Joerg Schminnes <joerg@mni.second.de>
Newsgroups: mailinglists.iaik.ssl
An: <iaik-ssl@iaik.tu-graz.ac.at>
Gesendet: Mittwoch, 07. Juli 1999 11:09
Betreff: [iaik-ssl] iSaSiLkLight NullPointerException


>
> Hi there,
>
> while trying to implement an applet-client with iSaSiLkLight 2.0,
> I get this NullPointerException (the exception turns up with
> the (minimal modified) example-client-code 'Code1.java' too)
>
> send client_hello...
> java.lang.NullPointerException
>   at iaik.applet.ssl.Random.nextByte(Compiled Code)
>   at iaik.applet.ssl.Random.nextBytes(Compiled Code)
>   at iaik.applet.ssl.ClientHello.<init>(Compiled Code)
>   at iaik.applet.ssl.ClientHandshaker.sendHandshakeMessages(Compiled
Code)
>   at iaik.applet.ssl.ClientHandshaker.doHandshake(Compiled Code)
>   at iaik.applet.ssl.SSLConnection.startHandshake(Compiled Code)
> * at iaik.applet.ssl.SSLConnection.getInputStream(Compiled Code)
>   at ise.corba.CorbaHost.<init>(Compiled Code)
>   at ise.corba.CorbaHost.<init>(Compiled Code)
>   at ise.corba.CorbaClient.<init>(Compiled Code)
>   at ise.base.ClientInformationWorld.<init>(Compiled Code)
>   at ise.base.ISEngineDefaultSystem.createClientWorld(Compiled Code)
>   at look.OutlookApplet.initializeISEngine(Compiled Code)
>   at applet.BasisApplet.init(Compiled Code)
>   at Sell.IntersellOutlookApplet.init(Compiled Code)
>   at
netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled
Code)
>   at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
Code)
>   at java.awt.EventDispatchThread.run(Compiled Code)
>   at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)
>
> could this be a bug in the iSaSiLkLight-library?



smime.p7s