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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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