java.security.AccessControlException: access denied (java.util.PropertyPermission com.sun.media.jmc.UseJavaPlayer read)

Oracle Community | 843851 | 7 years ago
  1. 0

    RMI in a JavaFX app loads a security policy that impeaches MediaPlayer

    Oracle Community | 7 years ago | 843851
    java.security.AccessControlException: access denied (java.util.PropertyPermission com.sun.media.jmc.UseJavaPlayer read)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Netbeans Cannot start Java DB server (MAC)

    Stack Overflow | 3 years ago | CannotFindSymbol
    java.security.AccessControlException: access denied ("java.util.PropertyPermission" "file.encoding" "read")
  4. 0

    java permissions in libraries

    Stack Overflow | 5 years ago | tb189
    java.security.AccessControlException: access denied (java.util.PropertyPermission jna.encoding read)

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.util.PropertyPermission com.sun.media.jmc.UseJavaPlayer read)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      System.getProperty
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
      2. java.security.AccessController.checkPermission(AccessController.java:546)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      4. java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
      5. java.lang.System.getProperty(System.java:667)
      5 frames
    3. com.sun.media
      ON2FlashPlayerProvider$2.run
      1. com.sun.media.jmcimpl.plugins.on2.ON2FlashPlayerProvider$2.run(ON2FlashPlayerProvider.java:88)
      2. com.sun.media.jmcimpl.plugins.on2.ON2FlashPlayerProvider$2.run(ON2FlashPlayerProvider.java:87)
      2 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. com.sun.media
      Media.<init>
      1. com.sun.media.jmcimpl.plugins.on2.ON2FlashPlayerProvider.canPlay(ON2FlashPlayerProvider.java:86)
      2. com.sun.media.jmcimpl.plugins.on2.ON2FlashPlayerProvider.canDecode(ON2FlashPlayerProvider.java:163)
      3. com.sun.media.jmcimpl.PeerManager.getMediaPeer(PeerManager.java:196)
      4. com.sun.media.jmc.Media.<init>(Media.java:50)
      4 frames
    6. javafx.scene.media
      Media$_SBECL.onChange
      1. javafx.scene.media.Media$_SBECL.onChange(Media.fx:87)
      1 frame
    7. com.sun.javafx
      AbstractVariable.bind
      1. com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(ObjectVariable.java:142)
      2. com.sun.javafx.runtime.location.ObjectVariable.replaceValue(ObjectVariable.java:104)
      3. com.sun.javafx.runtime.location.AbstractBindingExpression.pushValue(AbstractBindingExpression.java:100)
      4. com.sun.javafx.runtime.location.ObjectVariable$1.compute(ObjectVariable.java:89)
      5. com.sun.javafx.runtime.location.AbstractVariable.update(AbstractVariable.java:128)
      6. com.sun.javafx.runtime.location.AbstractVariable.bind(AbstractVariable.java:98)
      7. com.sun.javafx.runtime.location.AbstractVariable.bind(AbstractVariable.java:88)
      7 frames
    8. myJavaFXapp
      Main.javafx$run$
      1. myJavaFXapp.Main.javafx$run$(Main.fx:79)
      2. myJavaFXapp.Main.javafx$run$(Main.fx:79)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. com.sun.javafx
      SwingToolkit$StartupRoutine.run
      1. com.sun.javafx.runtime.provider.GUIRuntimeProvider$1.run(GUIRuntimeProvider.java:65)
      2. com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(SwingToolkit.fx:593)
      2 frames
    11. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      6. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      7. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      8. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      8 frames