Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6973096

1.3.1_29b01 SwingApplet Demo SecurityException: null AccessControlContext

XMLWordPrintable

    • b01
    • b02
    • x86, sparc
    • solaris, windows_xp
    • Verified

      When running 1.3.1_29b01 SwingApplet Demo using appletviewer the following exception is thrown. This does not occur in 1.3.1_28b04.

      java.lang.SecurityException: null AccessControlContext
              at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:656
      )
              at javax.swing.UIDefaults.get(UIDefaults.java:146)
              at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
              at javax.swing.UIDefaults.getBorder(UIDefaults.java:265)
              at javax.swing.UIManager.getBorder(UIManager.java:481)
              at javax.swing.LookAndFeel.installBorder(LookAndFeel.java:102)
              at javax.swing.plaf.basic.BasicButtonUI.installDefaults(BasicButtonUI.ja
      va:123)
              at com.sun.java.swing.plaf.windows.WindowsButtonUI.installDefaults(Windo
      wsButtonUI.java:60)
              at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:58)

              at javax.swing.JComponent.setUI(JComponent.java:317)
              at javax.swing.AbstractButton.setUI(AbstractButton.java:1305)
              at javax.swing.JButton.updateUI(JButton.java:113)
              at javax.swing.AbstractButton.init(AbstractButton.java:1600)
              at javax.swing.JButton.<init>(JButton.java:103)
              at javax.swing.JButton.<init>(JButton.java:78)
              at SwingApplet.init(SwingApplet.java:35)
              at sun.applet.AppletPanel.run(AppletPanel.java:341)
              at java.lang.Thread.run(Thread.java:527)

            karunakar Karunakar Gajjala (Inactive)
            thshaw Thomas Shaw (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: