java.lang.SecurityException

Could not lock User p refs. Lock file access denied.

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 web3159

  • via Oracle Community by user9210707, 11 months ago
    Could not lock User p refs. Lock file access denied.
  • via Ask Ubuntu by Viktor
    , 7 months ago
    Could not lock User prefs. Lock file access denied.
  • Stack trace

    • java.lang.SecurityException: Could not lock User p refs. Lock file access denied. at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:956) at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:945)

    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

    Unknown user
    Once, 1 year ago