Clues to look at ... where are you using a string buffer (or concatenating
Strings ?) Some thing either in init or called by init.
Give up yet?  Time for the java debugger...

    apletviewer -dbg SubjectSearch.html
If the bugaboo rears it's head while the debugger is on, the  "(compiled
code) " is replaced by actual line numbers, pinpointing the limne where the
jvm  realized it was in a jam ( sometimes the previous line is to blame. )
This turns off java security - so if the errors don't show up that's another
clue.

hope this helps

~Steve~


Vlasis Hatzistavrou <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I just checked the Java Console and I saw that I missed something. Here's
> what I get when theWeb page loads:
>
> java.lang.NullPointerException
>
>   at java.lang.StringBuffer.append(Compiled Code)
>
> * at netscape.applet.DerivedAppletFrame$LoadAppletEvent.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)
>
>
> I get a Null pointer exception but... where? And where can I find info on
> EventDispatchThread for java.awt? I checked a couple of books but nothing
> showed up.
>
> Any ideas????
>
> Thanks again,
> --
> Vlasis Hatzistavrou,
> Systems Administrator,
> Hellenic Academic Libraries Link (HEAL-Link),
> Library of Physics & Informatics,
> Aristotle University of Thessaloniki.
>
>



Reply via email to