java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Maya Naga, 1 year ago
access denied (java.util.PropertyPermission user.home read)
via Google Groups by anon...@coolgroups.com, 2 years ago
access denied (java.util.PropertyPermission user.home read)
via Oracle Community by 807589, 1 year ago
access denied (java.util.PropertyPermission user.home read)
via Stack Overflow by Still don't know everything
, 7 months ago
access denied (java.util.PropertyPermission user.home read)
via Stack Overflow by user1877735
, 2 years ago
access denied ("java.util.PropertyPermission" "oracle.jdbc.RetainV9LongBindBehavior" "read")
via Stack Overflow by Tiago Santos
, 2 years ago
access denied ("java.util.PropertyPermission" "user.home" "read")
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:628)
at javax.swing.filechooser.FileSystemView.getHomeDirectory(FileSystemView.java:369)
at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:260)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:136)
at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:139)
at javax.swing.JComponent.setUI(JComponent.java:653)
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1757)
at javax.swing.JFileChooser.setup(JFileChooser.java:366)
at javax.swing.JFileChooser.(JFileChooser.java:332)
at javax.swing.JFileChooser.(JFileChooser.java:285)
at compression.dicomCompression.ChooseDirMouseClicked(dicomCompression.java:472)
at compression.dicomCompression.access$000(dicomCompression.java:17)
at compression.dicomCompression$1.mouseClicked(dicomCompression.java:115)
at java.awt.Component.processMouseEvent(Component.java:5520)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

2 times, 1 month ago
Once, 6 months ago
Once, 6 months ago
Once, 7 months ago
12 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.