java.security.AccessControlException

access denied (java.io.FilePermission counter.txt read)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4752

  • via Oracle Community by 807546, 9 months ago
    access denied (java.io.FilePermission counter.txt read)
  • via Oracle Community by 807551, 1 year ago
    access denied (java.io.FilePermission /counter.txt read,write)
  • via Google Groups by Andre M. Maier, 1 year ago
    access denied (java.io.FilePermission read)
  • Stack trace

    • java.security.AccessControlException: access denied (java.io.FilePermission counter.txt 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 java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileReader.<init>(Unknown Source) at counter.getCount(counter.java:100) at counter.<init>(counter.java:48)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    Once, 2 weeks ago
    Unknown user
    Once, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 2 months ago
    73 more bugmates