Hi everybody..

I am development an applet that try to read a vrml file using the vrml97
loader, but when I try to run it, this exception happens..



java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)

        at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:270)

        at java.security.AccessController.checkPermission
(AccessController.java:401)

        at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

        at java.lang.SecurityManager.checkPropertiesAccess
(SecurityManager.java:1259)

        at java.lang.System.getProperties(System.java:500)

        at com.sun.j3d.loaders.vrml97.VrmlLoader.pathToURL(VrmlLoader.java:143)

        at com.sun.j3d.loaders.vrml97.VrmlLoader.load(VrmlLoader.java:104)

        at Universe.loadAvatar(Universe.java:198)

        at Universe.<init>(Universe.java:126)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

        at java.lang.Class.newInstance0(Class.java:296)

        at java.lang.Class.newInstance(Class.java:249)

        at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)

        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621)

        at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)

        at sun.applet.AppletPanel.run(AppletPanel.java:290)

        at java.lang.Thread.run(Thread.java:536)




is necessary to use a policy permission?


thanks a lot.



/*********************************************
SILVANO MALFATTI
COMPUTER SCIENCE - URI University
HOME - www.urisan.tche.br/~smalfatti
********************************************/




-------------------------------------------------
URI - Campus de Santo Angelo-RS
http://www.urisan.tche.br

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