java.security.AccessControlException: access denied (java.io.FilePermission /tmp read)

Oracle Community | 807577 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Q: change LooknFeel - all workarounds fail?

    Oracle Community | 1 decade ago | 843802
    java.security.AccessControlException: access denied (java.io.FilePermission /tmp read)
  2. 0

    UIManager ClassPath ignored? (access violation)

    Oracle Community | 1 decade ago | 807577
    java.security.AccessControlException: access denied (java.io.FilePermission /tmp read)

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.io.FilePermission /tmp read)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      JFileChooser.getName
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
      2. java.security.AccessController.checkPermission(AccessController.java:401)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
      4. java.lang.SecurityManager.checkRead(SecurityManager.java:887)
      5. java.io.File.exists(File.java:677)
      6. javax.swing.filechooser.FileSystemView.getSystemDisplayName(FileSystemView.java:140)
      7. javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getName(BasicFileChooserUI.java:1005)
      8. javax.swing.JFileChooser.getName(JFileChooser.java:1437)
      8 frames
    3. com.memoire.slaf
      SlafFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent
      1. com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent(SlafFileChooserUI.java:605)
      1 frame
    4. Java RT
      AbstractListModel.fireContentsChanged
      1. javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1147)
      2. javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1097)
      3. javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(BasicListUI.java:1465)
      4. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
      5. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
      6. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
      7. javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
      8. javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
      9. javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
      10. javax.swing.JList.setSelectedIndex(JList.java:1730)
      11. javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:998)
      12. javax.swing.plaf.basic.BasicComboPopup.access$000(BasicComboPopup.java:43)
      13. javax.swing.plaf.basic.BasicComboPopup$ItemHandler.itemStateChanged(BasicComboPopup.java:782)
      14. javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1161)
      15. javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1218)
      16. javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
      17. javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
      17 frames
    5. com.memoire.slaf
      SlafFileChooserUI$1.propertyChange
      1. com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.setSelectedItem(SlafFileChooserUI.java:751)
      2. com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.addItem(SlafFileChooserUI.java:746)
      3. com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.access$500(SlafFileChooserUI.java:665)
      4. com.memoire.slaf.SlafFileChooserUI$1.propertyChange(SlafFileChooserUI.java:500)
      4 frames
    6. Java RT
      JFileChooser.<init>
      1. javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
      2. javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
      3. javax.swing.JComponent.firePropertyChange(JComponent.java:3814)
      4. javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:541)
      5. javax.swing.JFileChooser.<init>(JFileChooser.java:333)
      5 frames
    7. com.sun.jnlp
      FileOpenServiceImpl$1.run
      1. com.sun.jnlp.FileOpenServiceImpl$1.run(FileOpenServiceImpl.java:82)
      1 frame
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. com.sun.jnlp
      FileOpenServiceImpl.openFileDialog
      1. com.sun.jnlp.FileOpenServiceImpl.openFileDialog(FileOpenServiceImpl.java:73)
      1 frame
    10. com.wss.calendar
      InfoHTML$3.actionPerformed
      1. com.wss.calendar.client.swing.InfoHTML.jButtonUpload_actionPerformed(InfoHTML.java:217)
      2. com.wss.calendar.client.swing.InfoHTML$3.actionPerformed(InfoHTML.java:146)
      2 frames
    11. Java RT
      Component.setVisible
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
      6. java.awt.Component.processMouseEvent(Component.java:5093)
      7. java.awt.Component.processEvent(Component.java:4890)
      8. java.awt.Container.processEvent(Container.java:1566)
      9. java.awt.Component.dispatchEventImpl(Component.java:3598)
      10. java.awt.Container.dispatchEventImpl(Container.java:1623)
      11. java.awt.Component.dispatchEvent(Component.java:3439)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      15. java.awt.Container.dispatchEventImpl(Container.java:1609)
      16. java.awt.Window.dispatchEventImpl(Window.java:1585)
      17. java.awt.Component.dispatchEvent(Component.java:3439)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140)
      22. java.awt.Dialog.show(Dialog.java:538)
      23. java.awt.Component.show(Component.java:1134)
      24. java.awt.Component.setVisible(Component.java:1089)
      24 frames
    12. com.wss.calendar
      ScheduleWorldFrame$44.actionPerformed
      1. com.wss.calendar.client.swing.ScheduleWorldFrame.showInfoView(ScheduleWorldFrame.java:2247)
      2. com.wss.calendar.client.swing.ScheduleWorldFrame.jMenuItem14_actionPerformed(ScheduleWorldFrame.java:2226)
      3. com.wss.calendar.client.swing.ScheduleWorldFrame$44.actionPerformed(ScheduleWorldFrame.java:1127)
      3 frames
    13. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:289)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
      7. javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
      8. java.awt.Component.processMouseEvent(Component.java:5093)
      9. java.awt.Component.processEvent(Component.java:4890)
      10. java.awt.Container.processEvent(Container.java:1566)
      11. java.awt.Component.dispatchEventImpl(Component.java:3598)
      12. java.awt.Container.dispatchEventImpl(Container.java:1623)
      13. java.awt.Component.dispatchEvent(Component.java:3439)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
      15. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
      16. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
      17. java.awt.Container.dispatchEventImpl(Container.java:1609)
      18. java.awt.Window.dispatchEventImpl(Window.java:1585)
      19. java.awt.Component.dispatchEvent(Component.java:3439)
      20. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      21. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      22. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      25. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      25 frames