Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Mac OS X 10.7.2, Java 1.6.0_29

      Description

      When I run the demo on Mac OS X 10.7.2, I get an java.security.AccessControlException: access denied (java.lang.RuntimePermission canProcessApplicationEvents).

      See the output from the console:

      Java-Web-Start 1.6.0_29
      Verwendung der JRE-Version 1.6.0_29-b11-402-11M3527 Java HotSpot(TM) Client VM
      Home-Verzeichnis des Benutzers = /Users/christoph
      ----------------------------------------------------
      c: Konsolenfenster schließen
      f: Objekte in Finalisierungswarteschlange finalisieren
      g: Speicherbereinigung
      h: Diese Hilfemeldung anzeigen
      m: Speicherbelegung anzeigen
      o: Protokollierung auslösen
      p: Proxy-Konfiguration neu laden
      q: Konsole ausblenden
      r: Richtlinien-Konfiguration neu laden
      s: System- und Bereitstellungseigenschaften ausgeben
      t: Threadliste ausgeben
      v: Thread-Stack ausgeben
      0-5: Trace-Stufe auf <n> setzen
      ----------------------------------------------------
      Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at org.jdesktop.application.utils.OSXAdapter.setHandler(OSXAdapter.java:138)
      at org.jdesktop.application.utils.OSXAdapter.setQuitHandler(OSXAdapter.java:74)
      at org.jdesktop.application.Application.create(Application.java:257)
      at org.jdesktop.application.Application$1.run(Application.java:185)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:677)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:638)
      at java.awt.EventQueue$1.run(EventQueue.java:636)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:647)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission canProcessApplicationEvents)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
      at java.security.AccessController.checkPermission(AccessController.java:546)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at com.apple.eawt.Application.checkSecurity(Application.java:54)
      at com.apple.eawt.Application.<clinit>(Application.java:43)
      ... 20 more

        Activity

        Hide
        Karl Schaefer added a comment -

        Does anything come up or does the exception occur before you see anything?

        Show
        Karl Schaefer added a comment - Does anything come up or does the exception occur before you see anything?
        Hide
        cradig added a comment -

        Well, the Java coffee cup icon shows up in the dock, and the Java console opens displaying the exception. No splash screen or windows from the application though.

        Show
        cradig added a comment - Well, the Java coffee cup icon shows up in the dock, and the Java console opens displaying the exception. No splash screen or windows from the application though.
        Hide
        kleopatra added a comment -

        SwingXSet tries to set the "apple. ...." property unconditionally, changed to ask the securityManager if writing is allowed and doing only if so.

        committed as of revision #1298, updated SwingXSet.jar as well

        Please try and let me know if the demo works now.

        Thanks
        Jeanette

        Show
        kleopatra added a comment - SwingXSet tries to set the "apple. ...." property unconditionally, changed to ask the securityManager if writing is allowed and doing only if so. committed as of revision #1298, updated SwingXSet.jar as well Please try and let me know if the demo works now. Thanks Jeanette
        Hide
        kleopatra added a comment -

        related issue in SwingX tracker:

        http://java.net/jira/browse/SWINGX-1501

        Show
        kleopatra added a comment - related issue in SwingX tracker: http://java.net/jira/browse/SWINGX-1501

          People

          • Assignee:
            Unassigned
            Reporter:
            cradig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: