ava.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\8563\JavaApplication2\image\folder.gif read)

Coderanch | shalini gnana | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Image is not getting displayed

    Coderanch | 9 years ago | shalini gnana
    ava.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\8563\JavaApplication2\image\folder.gif read)

    Root Cause Analysis

    1. ava.security.AccessControlException

      access denied (java.io.FilePermission C:\Documents and Settings\8563\JavaApplication2\image\folder.gif read)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      SunToolkit.getImage
      1. java.security.AccessControlContext.checkPermission(Unknown Source)
      2. java.security.AccessController.checkPermission(Unknown Source)
      3. java.lang.SecurityManager.checkPermission(Unknown Source)
      4. java.lang.SecurityManager.checkRead(Unknown Source)
      5. sun.awt.SunToolkit.getImageFromHash(Unknown Source)
      6. sun.awt.SunToolkit.getImage(Unknown Source)
      6 frames
    3. mining
      TreeEX.init
      1. mining.TreeEX$ImagePanel.<init>(TreeEX.java:41)
      2. mining.TreeEX.init(TreeEX.java:30)
      2 frames
    4. Java RT
      Thread.run
      1. sun.applet.AppletPanel.run(Unknown Source)
      2. java.lang.Thread.run(Unknown Source)
      2 frames