Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Naming.lookup() has thrown an AccessControlException
    Java Runtime
    0
    0
    0
  2. SecurityManager permission too restrictive or unable to find policy file
    Java Runtime
    473
    221
    870

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.security.AccessControlException: access denied ("java.net.SocketPermission" "10.133.160.85:2001" "connect,resolve")
    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.checkConnect(Unknown Source)
18 frames hidden

Solution

rahsan2 months ago

If you have correctly set a policy file, check that the permissions in the policy file are not too restrictive for the operation you are trying to perform. If you are unsure as to how to correctly set a policy file, then check this answer

External results for this pattern (10)

  1. JnuLuXvia GitHub1 week ago
    access denied ("java.lang.RuntimePermission" "getClassLoader")
    Show stack trace
  2. Malek Trabelsivia Google Groups2 weeks ago
    access denied (java.lang.RuntimePermission modifyThreadGroup)
    Show stack trace
  3. Dawid Loubservia Google Groups2 weeks ago
    access denied (java.lang.RuntimePermission setIO)
    Show stack trace
  4. pcmac77via Google Groups2 weeks ago
    No message found for this stack trace.
    Show stack trace
  5. Claudiovia Google Groups2 weeks ago
  6. David Hodgevia Google Groups2 weeks ago
    access denied (java.lang.RuntimePermission modifyThreadGroup)
    Show stack trace
  7. namrogvia Google Groups2 weeks ago
    access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
    Show stack trace
  8. Vaibhavvia Google Groups2 weeks ago
    access denied (java.security.SecurityPermission putProviderProperty.Google Xoauth Provider)
    Show stack trace
  9. gabriel munteanuvia Google Groups2 weeks ago
    access denied (java.lang.RuntimePermission setContextClassLoader)
    Show stack trace