Hi Gary,
Pardon my curiosity, but do you work at Rome Labs (in Rome, N.Y.)?
Thanks,
-Matt
----- Original Message -----
From: Gary S. Moss <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 1999 5:49 AM
Subject: Re: [JAVA3D] Running applet. Another question.
> Vladimir Olenin <[EMAIL PROTECTED]> on 06/23/99 05:20:31 AM
> To: [EMAIL PROTECTED]
> cc: (bcc: Gary Moss/arl)
> Subject: Re: Running applet. Another question.
>
>
> Well, it's amazing, but this worked. I swear i would have never resoved
> this problem if you didn't help me. And as far as i remeber it was
> mentioned in neither of numerious FAQs i read in vain attempts to find
> the answer to the question. But another problem arised. Now i got the
> following error:
>
> ---------------------------
> Error: in loading image
>
> java.lang.NullPointerException
>
> at
> com.sun.j3d.utils.image.TextureLoader.getTexture(TextureLoader.java:342)
>
> at ColumnScene.<init>(ColumnScene.java:70)
>
> at ExClip.buildScene(ExClip.java:98)
> .........
>
> ---------------------------
>
> Looks to me like you passed a null Image object into TextureLoader
> constructor, so that the subsequent call to getTexture() got a
> NullPointerException when attempting to access the Image's methods. This is
> likely the result of not finding your texture file.
>
> Remember, the applet i'm trying to run DID work as an application. All i
> did was putting appropriate html into the directory with already
> compiled classes. I ran applet in NS4.61 and tried to use ".", "./" as a
> codebase or don't use codebase at all. I tried to put codebase in front
> of and behind of code parameter. But nothing helped. Possilby that's
> because an external file is being read and some kind of security
> violation happens again.
>
> This is not on the surface a security issue. I believe that it's just a
> matter of installing your textures in the proper place on the web server host
> machine and you probably need to specifiy the texture files as URLs, not simple
> path names since they are now being found by the web server using http
> protocol. Codebase needs to be a URL. For instance if your web server is
> foo.bar.net and your classes are installed under /usr/local/http/htdocs/classes
> and htdocs is where all your HTML files go, then your codebase would be
> http://foo.bar.net/classes.
>
> HTH,
> -Gary
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".