> From: John Summerfield <[EMAIL PROTECTED]>
> 
> On Fri, 23 Oct 1998, Pinca George wrote:
> > I made a program useing symantec's classes.zip.
> > It works fine on windows bat when I move it to Linux I get a nusty
> > NullPointerException exception on the line :
> > searchButton.setImageURL(symantec.itools.net.RelativeURL.getURL("xx.jpg"));
> > 
> > Does anyone have a clue ?
> 
> Has searchButton been initialised properly? I often get these
> NullPointerExceptions when I try to access a method an object doesn't have:
> for example, a method in my extension to Frame when the object I'm dealing
>    with is really a Frame.

I suspect that the RelativeURL.getURL is failing for whatever reason
(perhaps you have to have the right current directory -- for some
definition of "current").

M.

Reply via email to