Wierd Security Exception from JNLP app w/bsh
Darren Govoni <dgovoni-MiPnoaytyA1Wk0Htik3J/[email protected]> Wed, 05 Jan 2005 14:28:13 -0500
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Organization | metadapt LLC |
| Message-ID | <1104953294.4364.10.camel@samurai> |
Hi, I have an app with some jars fed over Java Web Start. All the requisite JNLP files have "all-permissions" turned on. In the downloaded app, I get this exception when I try to evaluate a script string. Anyone know how to correct this? Need help badly. Darren bsh.InterpreterError: unable to get instance initializer: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) at bsh.ClassGeneratorUtil.getConstructorArgs(Unknown Source) at FCSDefaultService.<init>(BeanShell Generated via ASM (www.objectweb.org)) 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:494) at bsh.Reflect.constructObject(Unknown Source) at bsh.BSHAllocationExpression.constructObject(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source)