java.security.AccessControlException

Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)

at java.lang.System.getProperty(Unknown Source)

at demo.Line.save(Line.java:255)

at demo.NewJFrame.actionPerformed(NewJFrame.java:300)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

[2121 byte] By [rajeshnr@mailb0x.coma] at [2007-10-1 21:28:04]
# 1

Please read the API documentation.

"public class AccessControlExceptionextends SecurityException

This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.

The reason to deny access can vary. For example, the requested permission might be of an incorrect type, contain an invalid value, or request access that is not allowed according to the security policy. Such information should be given whenever possible at the time the exception is thrown.

"

ChuckBinga at 2007-7-13 3:23:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

Please tell me what settings in the browser prohibit the display of Applet. I just get "Loading Java Applet" in a grey box with "error: null" in the task bar. Java Console throws the text "java.lang.ExceptionInInitialiseError: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)

at java.security.AccessControlContext.checkPermission(Unknown Source) ..........................

Please help me resolve this. I am on Win2kSP2, IE6.0 and J2RE1.3.

Thanks,

Sameer

ideasameer@yahoo.com

ideasameera at 2007-7-13 3:23:31 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...