java.security.AccessControlException: access denied (java.io.FilePermission mypic.gif read)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807595, 1 year ago
access denied (java.io.FilePermission mypic.gif read)
via Oracle Community by 807596, 1 year ago
access denied (java.io.FilePermission image1.gif read)
via Google Groups by John Raggio, 3 months ago
access denied (java.io.FilePermission \C:\Documents and Settings\jmr\java_plugin_AppletStore\1.3.1\jar\nav-images. jar1694945921null8216126953129032731.jar read)
via Google Groups by Roberto, 1 month ago
access denied (java.io.FilePermission http://1.255.52.221/tcsmi.gif read)
via Oracle Community by 843802, 1 year ago
access denied (java.io.FilePermission bground7.gif read)
via Oracle Community by 807577, 1 year ago
access denied (java.io.FilePermission anny.gif read)
java.security.AccessControlException: access denied (java.io.FilePermission mypic.gif 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.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at javax.swing.ImageIcon.(Unknown Source)
at undefined.PicTest.(PicTest.java:9)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

2 times, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.