PDA

View Full Version : java.security.AccessControlException???



indu
01-20-2009, 02:34 PM
hi i got the following exception while running my applet.. can any one help me to overcome this,,, pls help me...



Exception in thread "AWT-EventQueue-1" java.security.AccessControlException: acc
ess denied (java.util.PropertyPermission smslib.debug read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:264)
at java.security.AccessController.checkPermission(AccessController.java:
427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:12
85)
at java.lang.System.getProperty(System.java:628)
at org.smslib.Settings.<init>(Settings.java:157)
at org.smslib.Service.<init>(Service.java:65)
at plugin.actionPerformed(plugin.java:94)
at java.awt.Button.processActionEvent(Button.java:388)
at java.awt.Button.processEvent(Button.java:356)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Twey
01-20-2009, 03:10 PM
Either stop doing whatever's causing the exception, or sign your applet and ask permission.

indu
01-21-2009, 06:04 AM
Thanks for ur reply..
Actually in my project i am using applet to send sms from pc to mobile.. the code works in java.. i converted it to applet.. it shows access denied while executing.. pls help to execute applet...

Twey
01-21-2009, 06:09 AM
Clearly.

I have given you all the help I can with the information given.