Hi,

Sorry in asvance if this is the wrong place to ask this question.

I'm trying to load into an applet a wrml file that has been put in a jar
file. This works fine for a vrml file without any associated textures but if
the vrml has a texture it throws a strange exception.

Exception: java.lang.IllegalArgumentException: invalid port range: :21
Last token was "}" at line 23
java.lang.IllegalArgumentException: invalid port range: :21
        at java.net.SocketPermission.init(Unknown Source)
        at java.net.SocketPermission.<init>(Unknown Source)
        at sun.net.www.protocol.ftp.FtpURLConnection.getPermission(Unknown Source)
        at sun.net.www.protocol.jar.JarURLConnection.getPermission(Unknown Source)
        at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
        at sun.awt.SunToolkit.getImage(Unknown Source)
        ................

I have no problem loading the vrml files with textures if they are not
contained inside a jar file.

If anyone could tell me whether this is a bug or there is a workaround it
would be much appreciated.

Thanks,

Dave.

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