I'm having trouble fetching an image from a jar file using the web3d vrml loaders.  
I'm using Windows 95, Jdk1.2.2 and the non beta
J3D.

I'm able to fetch a .wrl file without trouble, but if the .wrl file references a 
texture then I get an error message:

java.lang.IllegalArgumentException: invalid port range: :21
   at java.net.SocketPermission.init(SocketPermission.java:341)
   at java.net.SocketPermission.<init>(SocketPermission.java:206)
   at 
sun.net.www.protocol.ftp.FtpURLConnection.getPermission(FtpURLConnection.java:175)
   at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:80)
   at 
sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:112)
   at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:116)
   at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:242)
   at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:221)
   at sun.awt.image.ImageFetcher.run(ImageFetcher.java:189)

Any ideas?  It seems to be wanting to ftp to my windows based laptop, which I don't 
think accepts ftp connections...  nevertheless
the .wrl itself does fetch so somehow images are treated differently.

 - Andy

===========================================================================
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".

Reply via email to