java.security.AccessControlException: access denied (java.io.FilePermission /tmp 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 Oracle Community by 843802, 1 year ago
access denied (java.io.FilePermission /tmp read)
via Oracle Community by 807577, 1 year ago
access denied (java.io.FilePermission /tmp read)
via Google Groups by Alaattin Kahramanlar, 1 year ago
access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
via Oracle Community by 843802, 1 year ago
access denied (java.io.FilePermission / read)
via Oracle Community by Murray9654, 1 year ago
access denied (java.io.FilePermission C:\apache-tomcat-6.0.29\webapps\cskip\WEB-INF\classes\org\apache\struts2\dispatcherg\HostConfig.class read)
via GitHub by janson1983
, 5 months ago
access denied ("java.io.FilePermission" "/home/chenjian" "read")
java.security.AccessControlException: access denied (java.io.FilePermission /tmp read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.exists(File.java:677)
at javax.swing.filechooser.FileSystemView.getSystemDisplayName(FileSystemView.java:140)
at javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getName(BasicFileChooserUI.java:1005)
at javax.swing.JFileChooser.getName(JFileChooser.java:1437)
at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent(SlafFileChooserUI.java:605)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1147)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1097)
at javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(BasicListUI.java:1465)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
at javax.swing.JList.setSelectedIndex(JList.java:1730)
at javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:998)
at javax.swing.plaf.basic.BasicComboPopup.access$000(BasicComboPopup.java:43)
at javax.swing.plaf.basic.BasicComboPopup$ItemHandler.itemStateChanged(BasicComboPopup.java:782)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1161)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1218)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.setSelectedItem(SlafFileChooserUI.java:751)
at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.addItem(SlafFileChooserUI.java:746)
at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.access$500(SlafFileChooserUI.java:665)
at com.memoire.slaf.SlafFileChooserUI$1.propertyChange(SlafFileChooserUI.java:500)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
at javax.swing.JComponent.firePropertyChange(JComponent.java:3814)
at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:541)
at javax.swing.JFileChooser.(JFileChooser.java:333)
at com.sun.jnlp.FileOpenServiceImpl$1.run(FileOpenServiceImpl.java:82)
at com.sun.jnlp.FileOpenServiceImpl.openFileDialog(FileOpenServiceImpl.java:73)
at com.wss.calendar.client.swing.InfoHTML.jButtonUpload_actionPerformed(InfoHTML.java:217)
at com.wss.calendar.client.swing.InfoHTML$3.actionPerformed(InfoHTML.java:146)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140)
at java.awt.Dialog.show(Dialog.java:538)
at java.awt.Component.show(Component.java:1134)
at java.awt.Component.setVisible(Component.java:1089)
at com.wss.calendar.client.swing.ScheduleWorldFrame.showInfoView(ScheduleWorldFrame.java:2247)
at com.wss.calendar.client.swing.ScheduleWorldFrame.jMenuItem14_actionPerformed(ScheduleWorldFrame.java:2226)
at com.wss.calendar.client.swing.ScheduleWorldFrame$44.actionPerformed(ScheduleWorldFrame.java:1127)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5093)
at java.awt.Component.processEvent(Component.java:4890)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3598)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1585)
at java.awt.Component.dispatchEvent(Component.java:3439)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

Users with the same issue

2 times, 8 hours ago
Samebug visitor profile picture
Unknown user
Once, 5 days ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
75 more bugmates

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